Android up navigation for an Activity with multiple parents

后端 未结 3 1468
眼角桃花
眼角桃花 2021-01-30 10:50

I have a problem for implementing up navigation on an app with this navigation tree:

\"App

3条回答
  •  太阳男子
    2021-01-30 11:19

    this is an old post for sure, but as I was studying the SharedPreferences, I think it could be a possibility to stack this information within a sharedPreferences data, and to modify its value each time before going down the 2 parents. Then by reading it, you should be able to directly know your parent, and this without having to build a whole class for that.

提交回复
热议问题