How to pass data between fragments

后端 未结 13 3013
醉话见心
醉话见心 2020-11-22 07:03

Im trying to pass data between two fragmens in my program. Its just a simple string that is stored in the List. The List is made public in fragments A, and when the user cli

13条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-22 07:09

    you can read this doc .this concept is well explained here http://developer.android.com/training/basics/fragments/communicating.html

提交回复
热议问题