Created
June 12, 2019 15:09
-
-
Save sagar-viradiya/d8c4b603f67506aa6250913185bd657b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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