Last active
October 13, 2018 19:10
-
-
Save finnkvan/2cbb89f29993312ca5158dd93d2b76c3 to your computer and use it in GitHub Desktop.
ActivityResultObserver
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
package com.pivincii.blogging.activityresult | |
interface ActivityResultObservable { | |
fun addObserver(activityResultObserver: ActivityResultObserver) | |
fun removeObserver(activityResultObserver: ActivityResultObserver) | |
} |
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
package com.pivincii.blogging.activityresult | |
import android.content.Intent | |
interface ActivityResultObserver { | |
fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment