From: Damyan Ivanov Date: Sun, 22 Dec 2019 07:29:23 +0000 (+0200) Subject: remove deprecated usage of SectionsPagerAdapter(FragmentManager) X-Git-Tag: v0.12.0~125 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=abdeb6ca4105395a03be21c61e36a11bac04e157;p=mobile-ledger.git remove deprecated usage of SectionsPagerAdapter(FragmentManager) --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index 3bed0261..04ac9aec 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -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