varuni varuni - 3 years ago 175
Android Question

toast after removing last item from recyclerview android

I have a recyclerview with an adapter. I am using the following method in onbindviewholder to remove the items from the list.

List<MyList> myList;
Adpater myAdapter = myList.get(position);

I want a toast after the last item is removed from the list. Please help.

Answer Source

Set toast after myList.remove(position); line.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download