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 - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -