app / sg.edu.ntu.scse.cz2006.gymbuddies / ProfileEditActivity / onActivityResult

onActivityResult

protected fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?): Unit

This is used to handle results from any provider based profile pic such as from the Google Authentication

Parameters

requestCode - Int Intent Request Code such as REQUEST_PROFILE_PIC

resultCode - Int Intent Result code. Can be Activity.RESULT_OK or Activity.RESULT_CANCELED

data - Intent? Any profile picture data