]> git.ktnx.net Git - mobile-ledger.git/commitdiff
show new transaction fab when fragment is changed
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 31 Dec 2018 19:05:18 +0000 (19:05 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 31 Dec 2018 19:05:18 +0000 (19:05 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/account_summary/AccountSummaryFragment.java
app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java

index 3a09f2bbde2cc5d90ad5196eb19520b871f4c46f..7ea680f51de4efa9d07d679fccccc4c0428d48e9 100644 (file)
@@ -132,6 +132,7 @@ public class AccountSummaryFragment extends Fragment {
                     }
                 }));
 
+        fab.show();
         root.addOnScrollListener(new RecyclerView.OnScrollListener() {
             @Override
             public void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) {
index 7c7756b67470da57c4cea54ff24e3efe7d4b7eb8..45e6767b30a5984e17dbd7aaa0f970a0d62e25da 100644 (file)
@@ -138,6 +138,7 @@ public class TransactionListFragment extends Fragment {
         RecyclerView root = mActivity.findViewById(R.id.transaction_root);
         root.setAdapter(modelAdapter);
 
+        fab.show();
         root.addOnScrollListener(new RecyclerView.OnScrollListener() {
             @Override
             public void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) {