I am following a tutorial that uses "startActivityForResult" function. I know why this function is used and if we want to use the returned data, we use onActivityResult() function. The thing that I wana know is, why do we pass an Integer to startActivityForResult() function? And where is it used?
Thanks for your kind help!