Skip to content

Instantly share code, notes, and snippets.

@Elvis10ten
Created November 24, 2017 12:19
Show Gist options
  • Save Elvis10ten/676e41e0af8d03d9033e838d30c21c44 to your computer and use it in GitHub Desktop.
Save Elvis10ten/676e41e0af8d03d9033e838d30c21c44 to your computer and use it in GitHub Desktop.
override fun onCreate(savedInstanceState: Bundle?) {
...
FragmentUtils.addIfNotExist(supportFragmentManager, R.id.discoverFragmentContainer,
DiscoverFragment(), "DiscoverFragment")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment