Skip to content

Instantly share code, notes, and snippets.

@SeongUgJung
Created August 25, 2019 13:51
Show Gist options
  • Save SeongUgJung/1133935fcfc75b7a3f79a0a9d9e16f31 to your computer and use it in GitHub Desktop.
Save SeongUgJung/1133935fcfc75b7a3f79a0a9d9e16f31 to your computer and use it in GitHub Desktop.
emitter.setCancellable {
fragmentManager.beginTransaction()
.remove(mapFragment)
.commitAllowingStateLoss()
mapCache.onNext(DEFAULT)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment