开发者

Retain only 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜