From 3b7d0b3a96e48343b4500466d4bb3f5b62e28dde Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 29 Mar 2019 14:07:17 +0200 Subject: [PATCH] more flow debugging --- .../ui/account_summary/AccountSummaryFragment.java | 2 ++ .../java/net/ktnx/mobileledger/ui/activity/MainActivity.java | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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); -- 2.39.5