TaskStackBuilder transition animation

后端 未结 2 1381
一生所求
一生所求 2021-02-06 20:41

I\'m using Android L transitions passing an ActivityOptions bundle in intent. How can I reproduce the animation on the same intent with TaskStackBuilder

2条回答
  •  遥遥无期
    2021-02-06 21:02

    Try to do it using:

    TaskStackBuilder.create (Context context)
    

    Return a new TaskStackBuilder for launching a fresh taskstack consisting of a series of activities. Parameters -

    Context context: The context that will launch the new task stack or generate a PendingIntent.

    Returns, TaskStackBuilder - a new TaskStackBuilder.

提交回复
热议问题