android - How 2 fragments communicate each other inside an activity -


this question has answer here:

consider activity can call base activity. 2 fragments added base activity , call fragmentone , fragenttwo.how can fragmentone can communicate fragenttwo , vice versa .

you can define interface communicate between fragments. go through link http://developer.android.com/training/basics/fragments/communicating.html hope helps.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -