I would like to know if it is possible to execute a certain function only when the activity is called by another particular activity . for example: Activity A
called Activity B
, in this case execute Y
function, but if Activity C
call Activity B
DO NOT execute Y
function.