Android : Access view of other layout

on Monday, October 13, 2014


I have one MainActivity and two fragments namely Input.java and Output.java. I want to access the textview located at output_layout in Input fragment (More precisely, if I click on the button in input_layout, the textview of output_layout should change). How can i do this? I am calling these input_layout and out_put layout dynamically in main_activity.


As I am beginner, pardon my ignorance. Your help will be highly appreciated. Thanks in advance.


0 comments:

Post a Comment