Skip to content

Instantly share code, notes, and snippets.

@adrianhall
Created September 14, 2018 17:36
Show Gist options
  • Select an option

  • Save adrianhall/f0211d9bb08ed8892b15624b41074b14 to your computer and use it in GitHub Desktop.

Select an option

Save adrianhall/f0211d9bb08ed8892b15624b41074b14 to your computer and use it in GitHub Desktop.
// Facebook Requirement
private val callbackManager: CallbackManager = CallbackManager.Factory.create()
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
// Handle response from Facebook SDK
callbackManager.onActivityResult(requestCode, resultCode, data)
super.onActivityResult(requestCode, resultCode, data)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment