Tag: refreshing fragments

How to stop refreshing fragments on tab change in Android

How to stop refreshing fragments on tab change in Android

Problem: How to stop refreshing fragments on tab change¬†You can add multiple fragment tabs in viewpager. But when you swipe tabs, the transition quite slow because of the destruction of the fragment view, which is refreshing during the swipe operation. The viewpager does not create all pages at a time. By default, viewpager only creates…

Read More Read More