Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@youngam
Created September 27, 2017 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save youngam/7b1241dbb7b5cb3f44d8556c1a81850e to your computer and use it in GitHub Desktop.
Save youngam/7b1241dbb7b5cb3f44d8556c1a81850e to your computer and use it in GitHub Desktop.
override fun setUserVisibleHint(isVisibleToUser: Boolean) {
  isVisibleToUser = isVisibleToUser
  awaitingRunnable?.let {awaitingRunnable.run()}
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment