How to change Text in EditTexts in other tabs
Afternoon guys, my problem is: I have a main tab that contain a 'Search' button, when it's pressed it should load data from the database (which is OK) and apply it to all the tabs (here's the problem)
How an i supposed to do this, is it possible?
If it's not possible, is there any way to pass info trought tabs? Like the customer ID so i could search his info whe开发者_如何学Gonever the tab changes?
Thx
Ye is possible. Save the content in one global variable and use it in the next tab. In your case if it is string save declare one private/public string variable outside the tabs, when is needed assign data to the string, and use it in the same in the next tabs or whatever you want.
精彩评论