]> git.ktnx.net Git - mobile-ledger.git/commitdiff
remove deprecated usage of SectionsPagerAdapter(FragmentManager)
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Dec 2019 07:29:23 +0000 (09:29 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 22 Dec 2019 07:29:23 +0000 (09:29 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index 3bed02614c30f6f211f343acda9fde705e7669a4..04ac9aecd37e45cc388f0f3efa9eb0d2220f07eb 100644 (file)
@@ -704,7 +704,7 @@ public class MainActivity extends ProfileThemedActivity {
     public class SectionsPagerAdapter extends FragmentPagerAdapter {
 
         SectionsPagerAdapter(FragmentManager fm) {
-            super(fm);
+            super(fm, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT);
         }
 
         @NotNull