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
this issue has been resolved. Seems that the VerticalViewPager has nothing wrong. The reason for this is that MyPageAdapter did not rewrite the method 'getItemPosition()' from the super class, and the default implementation assumes that items will never change position and always returns.
So, rewrite this method like this:
int index = mdata.indexOf(object);
return index == -1 ? POSITION_NONE : index;
why?
The text was updated successfully, but these errors were encountered: