Skip to content

Instantly share code, notes, and snippets.

@Leviaran
Created February 5, 2021 06:44
Show Gist options
  • Save Leviaran/5434389b54fdcc83dc34cc115a322b43 to your computer and use it in GitHub Desktop.
Save Leviaran/5434389b54fdcc83dc34cc115a322b43 to your computer and use it in GitHub Desktop.
supportFragmentManager.beginTransaction()
.replace(R.id.fragment_container, SecondFragment::class.java, args = null)
.commitAllowingStateLost()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment