Answer the question
In order to leave comments, you need to log in
[Xamarin,IOS,C#] How to change UI Controller/Variable in another View?
Let's say there are 2 views - view1 and view2. In view2, the data variable is declared and the textField text field is added.
Is it possible to change their values from view1, and if so, how?
Answer the question
In order to leave comments, you need to log in
For Xamarin development, it is best to use the MVVM approach.
en.wikipedia.org/wiki/Model-View-ViewModel
There is a mvvmcross framework
https://github.com/MvvmCross/MvvmCross/wiki
blog.xamarin.com/mvvmcross-seminar
If there is no connection between view1 and view2 - no way.
If there is a connection (a link in one to another), then through it.
You can try to build a connection through the 3rd object.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question