开发者

Retain only one copy of an activity on the stack when called from non-activity

开发者 https://www.devze.com 2023-01-08 15:52 出处:网络
How can I make sure I only retain one copy开发者_如何转开发 of an activity on the stack when called from non-activity?

How can I make sure I only retain one copy开发者_如何转开发 of an activity on the stack when called from non-activity?

When called from an activity I can just add the FLAG_ACTIVITY_REORDER_TO_FRONT flag to the Intent, but how can I do this from e.g. a widget or a notification?

0

精彩评论

暂无评论...
验证码 换一张
取 消