Implemented restoring displayed transactions after onStop()
This commit is contained in:
parent
f99e5ad96f
commit
c50295895b
|
@ -106,6 +106,14 @@ class HomeFragment : Fragment() {
|
|||
return rootView
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
|
||||
if (this::mnitmSearchTransactions.isInitialized) { // restore displayed transactions after onStop()
|
||||
updateMenuItemsStateAndTransactionsToDisplay()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater) {
|
||||
super.onCreateOptionsMenu(menu, inflater)
|
||||
|
|
Loading…
Reference in New Issue