ExrinSample | sample application using the Exrin Xamarin Forms Framework | Form library
kandi X-RAY | ExrinSample Summary
kandi X-RAY | ExrinSample Summary
A sample application using the Exrin Xamarin Forms Framework. The enterprise level, no Xamarin Forms dependency, extended MVVM framework.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ExrinSample
ExrinSample Key Features
ExrinSample Examples and Code Snippets
Community Discussions
Trending Discussions on ExrinSample
QUESTION
I've watched through the Exrin tutorial multiple times and have looked through the couple different samples online which are very helpful to getting started, but one thing I'm having a hard time understanding is the ViewModel vs VisualState vs Model vs ModelState approach Exrin uses and would like some clarification as to what types of properties/other items get stored in each and how they relate to each other.
...ANSWER
Answered 2017-May-25 at 01:32First, here is a diagram of how it is setup.
Second, going through an example. Say you have an API that gets a list of items.
You would do this.
- In your Model, create a method that calls the Service or API to get a list of items.
- In your ViewModel, in OnNavigated/ICommand, or whatever event you want to call it from, make a call to the Model to get this list of items.
- Store this list of items in a property in your VisualState
- In your View in XAML,
{Binding VisualState.ListOfItems}
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ExrinSample
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page