From: Damyan Ivanov Date: Fri, 29 Mar 2019 12:07:17 +0000 (+0200) Subject: more flow debugging X-Git-Tag: v0.9~34 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=3b7d0b3a96e48343b4500466d4bb3f5b62e28dde;p=mobile-ledger.git more flow debugging --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java index 5fd47f14..73a75af4 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java @@ -65,6 +65,7 @@ public class AccountSummaryFragment extends MobileLedgerListFragment { @Override public void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); + Log.d("flow", "AccountSummaryFragment.onCreate()"); setHasOptionsMenu(true); if (backgroundTaskCountObserver == null) { @@ -82,6 +83,7 @@ public class AccountSummaryFragment extends MobileLedgerListFragment { } public void onAttach(Context context) { super.onAttach(context); + Log.d("flow", "AccountSummaryFragment.onAttach()"); mActivity = (MainActivity) context; } @Override 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 e5139b23..3e774a04 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 @@ -100,6 +100,7 @@ public class MainActivity extends ProfileThemedActivity { protected void onStart() { super.onStart(); + Log.d("flow", "MainActivity.onStart()"); setupProfile(); updateLastUpdateTextFromDB(); @@ -129,7 +130,7 @@ public class MainActivity extends ProfileThemedActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - + Log.d("flow", "MainActivity.onCreate()"); setContentView(R.layout.activity_main); fab = findViewById(R.id.btn_add_transaction);