Advertisement
Guest User

Untitled

a guest
May 21st, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. // Obtain the phone number from the result
  2. fun onActivityResult(requestCode:Int, resultCode:Int, data:Intent) {
  3. super.onActivityResult(requestCode, resultCode, data)
  4. if (requestCode == RESOLVE_HINT)
  5. {
  6. if (resultCode == RESULT_OK)
  7. {
  8. val credential = data.getParcelableExtra(Credential.EXTRA_KEY)
  9. // credential.getId(); <-- will need to process phone number string
  10. }
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement