Open
Description
Hi,
Can I use this on Activity Level not on Application Level?
I mean, suppose I am not using Application class and registering this in Activity A(Main-> Activity A) like this
ApplicationHelper.registerActivityLifecycleCallbacks(mApplication, mActivityLifecycleCallbacks);
in OnCreate()
to get only call back of this activity?
I actually tried this but I am getting callback from Main also.
Is there a way to do thit?because I need to stop request if user goes away from Activity A and resume request when he comes back.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels