Basic communication between two fragments

前端 未结 10 2299
我寻月下人不归
我寻月下人不归 2020-11-22 05:00

I have one activity - MainActivity. Within this activity I have two fragments, both of which I created declaratively within the xml.

I am trying to pas

10条回答
  •  甜味超标
    2020-11-22 05:23

    Take a look at https://github.com/greenrobot/EventBus or http://square.github.io/otto/

    or even ... http://nerds.weddingpartyapp.com/tech/2014/12/24/implementing-an-event-bus-with-rxjava-rxbus/

提交回复
热议问题