more information in the main activity start debug
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 5 May 2019 18:57:48 +0000 (21:57 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 5 May 2019 18:57:48 +0000 (21:57 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index 12957e9..d7447f0 100644 (file)
@@ -108,7 +108,9 @@ public class MainActivity extends ProfileThemedActivity {
     protected void onStart() {
         super.onStart();
 
-        debug("flow", "MainActivity.onStart()");
+        debug("flow", String.format(Locale.ENGLISH,
+                "MainActivity.onStart(), currentPage is %d, accountFilter is %s", mCurrentPage,
+                (mAccountFilter == null) ? "<NULL>" : mAccountFilter));
         mViewPager.setCurrentItem(mCurrentPage, false);
         if (mAccountFilter != null) showTransactionsFragment(mAccountFilter);
         else Data.accountFilter.setValue(null);