initially mark the account list as current in the navigation drawer
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 20 Jan 2019 19:08:14 +0000 (19:08 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 20 Jan 2019 19:08:14 +0000 (19:08 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index 1e4b446..1afc155 100644 (file)
@@ -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() {