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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -