You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FastAdapter.getPosition loops through adapters and accumulates item count until the target is found. My question is, why to use position = adapter.adapterItemCount instead of +=? Using = remembers the last adapter item count rather than all item count before. Is this a bug, or is my understanding wrong?
About this issue
FastAdapter.getPosition loops through adapters and accumulates item count until the target is found. My question is, why to use
position = adapter.adapterItemCount
instead of+=
? Using=
remembers the last adapter item count rather than all item count before. Is this a bug, or is my understanding wrong?Details
Checklist
The text was updated successfully, but these errors were encountered: