Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sagar-viradiya
Created June 12, 2019 15:09
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 sagar-viradiya/d8c4b603f67506aa6250913185bd657b to your computer and use it in GitHub Desktop.
Save sagar-viradiya/d8c4b603f67506aa6250913185bd657b to your computer and use it in GitHub Desktop.
/**
* Interface definition for a callback to get [LiveData] of [PermissionResult]
*
* Implement this interface to get [LiveData] for observing permission request result.
*/
interface PermissionObserver {
fun setupObserver(permissionResultLiveData: LiveData<PermissionResult>)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment