Fragment pressing back button

后端 未结 16 2432
清歌不尽
清歌不尽 2020-11-29 20:18

I am now having an activity containing fragments

[1] , [2] , [3] , [4]

If pressing buttons , [3] , it can be redirected to [4]

I would like to imp

16条回答
  •  北荒
    北荒 (楼主)
    2020-11-29 21:06

    You can use getFragmentManager().popBackStack() in basic Fragment to go back.

提交回复
热议问题