Android: How to determine the position * of the original * position in the adapter after applying the filter

After a filter is applied to an adapter containing strings, the "position" variable does not refer to the position number that it was originally before the text filter was applied.

Is there a way to get the initial position of an element before applying a text filter?

+3
source share
1 answer

Well, this may not be the most excellent solution, but you can copy your array and get positions from this original.

0
source

All Articles