I need to check whether the onResume() is called because the activity starts for the first time (1st case) or it's called because my result after using startActivityForResult is back (2nd case) ..
I need to know because I need to scroll to a specific view if the case is case 2 and to start the activity normally if the case is case 1..
So what is the if condition I should use ?