Fix some deprecations

This commit is contained in:
TacoTheDank 2020-08-27 16:56:12 -04:00 committed by Stypox
parent ba6c7de35a
commit a4feb3fc09
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
10 changed files with 24 additions and 30 deletions

View file

@ -167,7 +167,7 @@ public class AboutActivity extends AppCompatActivity {
*/
public class SectionsPagerAdapter extends FragmentPagerAdapter {
public SectionsPagerAdapter(final FragmentManager fm) {
super(fm);
super(fm, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT);
}
@Override