Closed jabi1995 closed 4 years ago
Actually the main reason why this condition has been faced was that I tried to get the item counts immediately after filtering the items so THERE WAS NO TIME TO CALCULATE THE NUMBER OF ITEMS, Just after executing the method (setFilter) I tried to ask for item counts one seconds (may be less, I didn't try) later so the result was correct :)
When Using getItemCount method to find filtered items in recyclerView returns previous filtered items number as value! what is the problem !!