Replies: 1 comment 1 reply
-
Can you provide a sample of what you're trying to do, and where the current documentation fails? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Uno recommends to use x:Bind for Binding, but all Samples I found were using c# Markup which has set the Datacontext in one of the first lines by default or if the sample did use xaml and mvux, it did not use navigation.
As far as I understood until now (learning, thats why I look for a sample) is that, if I am using the Navigator, the link between the e.g. MainPage and MainViewModel is did by that and with Binding which is used in the Uno App Template and uses Reflection instead of the higher Performant x:Bind is able to bind with that to the MainModel.
I dont know, if I have to instance MainViewModel and MainModel additionally on that scenario, since the Weather App sample uses a Service which is not this record thing MainModel would be...
Would anyone be able to add a template for the recommended x:Bind for this setup of a uno app? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions