Update common post in different ListView with different data in adapter

后端 未结 3 1529
别跟我提以往
别跟我提以往 2021-01-27 17:47

Assume That an app Firstly List all post in a ListView in Fragment ( 1st ) with a custom adapter. and that custom adapter data is

3条回答
  •  清酒与你
    2021-01-27 18:06

    You can explicitly force the back button state to not be added to the back stack with transaction.addToBackStack(null). You can then override the back button (inside onBackPressed()) and insert whatever behavior you need. I'm not sure I'm following everything above, but I think that this combo will take care of the fundamental issue you address.

提交回复
热议问题