大约有 40,200 项符合查询结果(耗时:0.0355秒) [XML]
Intent - if activity is running, bring it to front, else start a new one (from notification)
... app has notifications, which - obviously - without any flags, start a new activity every time so I get multiple same activities running on top of each other, which is just wrong.
...
Android: Remove all the previous activities from the back stack
When i am clicking on Logout button in my Profile Activity i want to take user to Login page, where he needs to use new credentials.
...
How to close activity and go back to previous activity in android
I have a main activity, that when I click on a button, starts a new activity, i used the following code to do so:
18 Answer...
Android: Go back to previous activity
...ething simple on android app.
How is it possible to go back to a previous activity.
23 Answers
...
Passing data between a fragment and its container activity
How can I pass data between a fragment and its container activity? Is there something similar to passing data between activities through intents?
...
Android: Clear the back stack
In Android I have some activities, let's say A, B, C.
38 Answers
38
...
Why fragments, and when to use fragments instead of activities?
...
Active
Oldest
Votes
...
When to call activity context OR application context?
...
Active
Oldest
Votes
...
Call an activity method from a fragment
Trying to call a method in my activity from a fragment. I want the fragment to give the method data and to get the data when the method return. I want to achieve similar to call on a static method, but without the use of static because it create problems in the activity.
...