super.onCreate(savedInstanceState);
debug("flow", "AccountSummaryFragment.onCreate()");
setHasOptionsMenu(true);
-
- Data.backgroundTasksRunning.observe(this.getViewLifecycleOwner(),
- this::onBackgroundTaskRunningChanged);
}
public void onAttach(@NotNull Context context) {
super.onAttach(context);
debug("flow", "AccountSummaryFragment.onActivityCreated()");
super.onActivityCreated(savedInstanceState);
+ Data.backgroundTasksRunning.observe(this.getViewLifecycleOwner(),
+ this::onBackgroundTaskRunningChanged);
+
modelAdapter = new AccountSummaryAdapter();
mActivity.mAccountSummaryFragment = this;