Skip to content

Commit

Permalink
Merge pull request #201 from erawhctim/bugfix/transaction-listener-on…
Browse files Browse the repository at this point in the history
…-bundle-restore

Trigger transaction listener when restoring tab from bundle
  • Loading branch information
ncapdevi authored Mar 18, 2019
2 parents 4072c23 + 8cc95c9 commit 8abf3ad
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,8 @@ class FragNavController constructor(private val fragmentManger: FragmentManager,
// We cannot use switchTab, because switchTab removes fragment, but we don't want it
currentStackIndex = selectedTabIndex
fragNavTabHistoryController.switchTab(selectedTabIndex)

transactionListener?.onTabTransaction(mCurrentFrag, selectedTabIndex)
}

//Successfully restored state
Expand Down

0 comments on commit 8abf3ad

Please sign in to comment.