How do you skip parts of an Activity stack when returning results in Android?

后端 未结 2 1729
别跟我提以往
别跟我提以往 2021-01-29 03:47

I\'m making an app which has a flow roughly as below:

  1. User starts on the main screen with an empty list, hits menu, and goes to \"add item.\" (Activity A)
2条回答
  •  悲哀的现实
    2021-01-29 04:16

    I recommend just invoking the activities (not using the *ForResult) calls, then having activity D invoke Activity A with an INTENT_ADD_ITEM with data, then have Activity A add the item.

    Hope this helps...

提交回复
热议问题