How To Recreate Fragment With Viewpager Intentionally?
I am using ViewPager with some Fragments. I would like to achieve the next little effect: if I swipe to the very first page of the viewpager (so the index of the page equals 0), i
Solution 1:
mAdapter.notifyDataSetChanged()
was a solution. However, this removes all the pages and puts them back by instantiating again. The good news is hasn't caused any side effect yet. (force close, or exception)
Post a Comment for "How To Recreate Fragment With Viewpager Intentionally?"