This may sound a bit complicated but what I want is simple!. I have a RecyclerView and each item has a delete Button. When I press the button in each item, the corresponding item will get removed from RecyclerView. and now I want to show these removed items into another RecyclerView in another layout!
This is my RecyclerView that I remove the items from each ButtonClick:
 holder.Btn_Remove.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    mFeedList.remove(newPosition);
                    notifyItemRemoved(newPosition);
                    notifyItemRangeChanged(newPosition,mFeedList.size());
                }
            });
and now I have Other RecyclerView with DataList. i want to add each removed item to be added automatically to this new DataList.
 private void setDataListItems(){
        mDataList.add(new PendingModel("#198" , "Pizza Hut", "Time : 08.00 ","sector 15", currentDateTimeString, OrderStatus.ACTIVE,0.00));
}
Any help would be appreciated!
 
     
     
    