Communication objects between multiple fragments in ViewPager

前端 未结 7 1307
不知归路
不知归路 2021-02-07 06:53

I have 5 fragments in ViewPager used to fill business object with several fields step by step, in each step some of those fields will be set. I\'ve read many articl

7条回答
  •  你的背包
    2021-02-07 07:07

    Have you checkout EventBus?

    I'm not sure if it is the best approach, specially when your question is too broad, however it will be cool with just 5 fragments.

    Hope it helps

提交回复
热议问题