/*
- * Copyright © 2019 Damyan Ivanov.
+ * Copyright © 2020 Damyan Ivanov.
* This file is part of MoLe.
* MoLe is free software: you can distribute it and/or modify it
* under the term of the GNU General Public License as published by
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;
root = mActivity.findViewById(R.id.account_root);
LinearLayoutManager llm = new LinearLayoutManager(mActivity);
llm.setOrientation(RecyclerView.VERTICAL);