Issue
I have an Activity A that uses an intent to go to Activity B. Sometimes Activity A start also another activity, Activity C.
Is there a way for Activity A to know from which Activity (B or C) it is restarted when these activities finish?
Solution
Use a static variable to store the last activity started, so when activity A is resumed, you can check it.
Answered By - Juanjo Vega
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.