Monday, August 5, 2013

Re: [android-developers] the current position value is stale in viewpager getCurrentItem method

Yes, I saved the date value, I mean the old position of view pager is still exist even I set the new current item position in onCreate method. I print out the position value in the onPageSelected method. I got the old position value.

Thanks.

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment