How to pass result from second fragment to first fragment

前端 未结 4 1346

In my app I have two fragments say fragmentA and FragmentB. When I click on a button in fragmetA, a list is opened in

4条回答
  •  心在旅途
    2020-12-01 18:43

    You can also use SharedPreferences to save some string and after return back to the first fragment load it and clear.

提交回复
热议问题