2016年11月20日 星期日

FragmentPagerAdapter and FragmentStatePagerAdapter

http://blog.csdn.net/fangkailong/article/details/38268509
http://www.jianshu.com/p/abf592a71d02
https://read01.com/dkjG3.html
https://read01.com/34on4.html
http://blog.csdn.net/quanjin24k/article/details/17318151


Passing data between a fragment and its container activity

getActivity()


disable the preloading in a viewpager?

@Override
public void setUserVisibleHint(boolean isVisibleToUser) {
    super.setUserVisibleHint(isVisibleToUser);
    if (isVisibleToUser) {
        loadData(); //Replace with your method
    }
}

 
 
 

沒有留言:

張貼留言