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++: Boost interprocess memory mapped file error -

java - How to set custom icons for individual nodes on a JTree? -

python - IO.UnsupportedOperation: Not Writable -