Now we have two disposition for web activity, they are "window" and "inline".
The difference of these two dispositions are:

  1. Life cycle

    inline

    System would closes/kills the activity once activity calls |activity.postError| or |activity.postResult|.

    window

    System won't close/kills the activity after it's finished its job.

  2. UI layout position

    inline

    On top of current active app or active activity.

    window

    Parallel to current active app or active activity.

  3. Chain behavior

    inline

    Strongly connected. When one activity of the activity chain is killed, all the remaining shall be killed except the caller.

    window

    Weakly connected. When one activity of the activity chain is killed, we just remove the reference of each other.

Comments

comments powered by Disqus