From dc38d4a30e643611ce9374448ce142610dba7b87 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 20 Jan 2019 19:08:14 +0000 Subject: [PATCH] initially mark the account list as current in the navigation drawer --- .../java/net/ktnx/mobileledger/ui/activity/MainActivity.java | 2 ++ 1 file changed, 2 insertions(+) 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 1e4b4460..1afc155d 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 @@ -128,6 +128,8 @@ public class MainActivity extends AppCompatActivity { fragmentManager = getSupportFragmentManager(); mSectionsPagerAdapter = new SectionsPagerAdapter(fragmentManager); + markDrawerItemCurrent(R.id.nav_account_summary); + mViewPager = findViewById(R.id.root_frame); mViewPager.setAdapter(mSectionsPagerAdapter); mViewPager.addOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() { -- 2.39.5