Skip to content

Instantly share code, notes, and snippets.

@ibrahimsn98
Last active January 1, 2019 09:56
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 ibrahimsn98/b959c5440b629de83c38fcf0d8e6ff9b to your computer and use it in GitHub Desktop.
Save ibrahimsn98/b959c5440b629de83c38fcf0d8e6ff9b to your computer and use it in GitHub Desktop.
Android-Live-Shared-Preferences-Gist8
liveSharedPreferences.listenMultiple(listOf("bool1", "bool2", "bool3"), false).observe(this, Observer<Pair<String, Boolean>> { value ->
Log.d(TAG, "key: ${value!!.first} value: ${value.second}")
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment