- private View vAccountFilter;
- private AutoCompleteTextView accNameFilter;
- private Observer backgroundTaskCountObserver;
- private static void update(Observable o, Object arg) {
- }
- @Override
- public void onDestroy() {
- if (backgroundTaskCountObserver != null) {
- Log.d("rtl", "destroying background task count observer");
- Data.backgroundTaskCount.deleteObserver(backgroundTaskCountObserver);
- }
- super.onDestroy();
- }
- public void setShowOnlyAccountName(String mShowOnlyAccountName) {
- this.mShowOnlyAccountName = mShowOnlyAccountName;
- if (modelAdapter != null) {
- modelAdapter.setBoldAccountName(mShowOnlyAccountName);
- }
- if (accNameFilter != null) {
- accNameFilter.setText(mShowOnlyAccountName, false);
- }
- if (vAccountFilter != null) {
- vAccountFilter.setVisibility(
- ((mShowOnlyAccountName != null) && !mShowOnlyAccountName.isEmpty())
- ? View.VISIBLE : View.GONE);
- }
- }
- @Override
- public void setArguments(@Nullable Bundle args) {
- super.setArguments(args);
- mShowOnlyAccountName = args.getString(BUNDLE_KEY_FILTER_ACCOUNT_NAME);
- }
+ private MenuItem menuGoToDate;
+ private MainModel model;
+ private boolean fragmentActive = false;
+ private TransactionListFragmentBinding b;