0

I need to remove a Firebase Listener when the app closed or a fragment with a ListView was detach, in RecyclerView the approach is usually set the adapter to null to call onViewDetachedFromWindow() and onDetachedFromRecyclerView() but how to do it in ListView specially when my listener is inside BaseAdapter? I prefer to use ListView for a specific libary.

Mihae Kheel
  • 2,441
  • 3
  • 14
  • 38

0 Answers0