NavUtils.navigateUpTo() does not start any Activity

前端 未结 9 2143
陌清茗
陌清茗 2021-01-30 06:48

I have two activities

  • MainActivity
  • DeepLinkActivity

I set up everything to use the NavUtils for navi

9条回答
  •  旧时难觅i
    2021-01-30 07:20

    If you go to your activity from a notification you'll have to create the stack when creating the notification, checkout this answer: NavUtils.shouldUpRecreateTask fails on JellyBean

提交回复
热议问题