Skip to content

Instantly share code, notes, and snippets.

@SeongUgJung
Last active August 25, 2019 14:08
Show Gist options
  • Save SeongUgJung/120c73597c3d5d7053e5d7da9cf80cc1 to your computer and use it in GitHub Desktop.
Save SeongUgJung/120c73597c3d5d7053e5d7da9cf80cc1 to your computer and use it in GitHub Desktop.
val mapFragment = SupportMapFragment()
mapFragment.retainInstance = false
fragmentManager.beginTransaction()
.replace(mapParams.resId, mapFragment)
.commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment