Created
October 7, 2018 10:53
-
-
Save NezSpencer/0648a2ee90b2f44d18639bc1c32c886c to your computer and use it in GitHub Desktop.
move back once in backstack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private fun moveBackOneTime() { | |
if (!lifecycle.currentState.isAtLeast(Lifecycle.State.STARTED)) | |
return | |
supportFragmentManager.popBackStack() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment