ViewPager中,如何知道某个页面从后台到了前台

可以覆写ViewPager的setPrimaryItem方法:

 

Leave a Reply

Your email address will not be published.