Android Studio – Get current ArrayList length after removing an element in onBindViewHolder()
How do I get the current ArrayList length after removing an element from it? I have a fragment that contains a RecyclerView. In the adapter I delete the respective element in the list in the onBindViewHolder() by clicking on an…