Questions tagged [exrin]

Exrin is a Xamarin Forms MVVM Framework. If you use this tag, it's very likely you want to include [xamarin.forms] and [xamarin] as well.

Resources

26 questions
1
vote
1 answer

Exrin: How to setup two way binding between VisualState and ModelState

How is the binding between ModelState and VisualState changed from one way to two way? In the Exrin introduction on YouTube and in this SO answer, it is stated that there is a binding between the ModelState and the VisualState (specifically…
Timothy James
  • 1,062
  • 13
  • 25
1
vote
1 answer

Exrin InjectionProxy InstanceType meaning and uses

When looking through the main app bootstrapper, the InjectionProxy is used to register instances and interfaces. I noticed that interfaces can be registered as InstanceType.SingleInstance (done for the database in the Tesla app) or…
Timothy James
  • 1,062
  • 13
  • 25
1
vote
1 answer

Exrin: Database Models, Services, and MainModels

From an Exrin design standpoint, should each database model have their own Service? I find that I may need to check the same thing within the database in multiple MainModels. I figured I would create a Service for these database models to do these…
Timothy James
  • 1,062
  • 13
  • 25
1
vote
1 answer

Project Layout with regards to Exrin and Databases

What is the preferred solution for Exrin project layout when adding a database? The sample Tesla app had a separate project for the Services and another separate app for the Repository. With the removal of both of those projects in the latest…
Timothy James
  • 1,062
  • 13
  • 25
1
vote
1 answer

Reference problems when using custom controls within Exrin

Using the base Exrin template, I am unable to use custom controls. As it stands now, the Droid/iOS projects reference the App/Bootstrapper project, so that seems like the correct place to put them, but when creating a new page or BaseView, I am not…
Timothy James
  • 1,062
  • 13
  • 25
1
vote
1 answer

Exrin: ViewModel vs VisualState vs Model vs ModelState clarification

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…
Timothy James
  • 1,062
  • 13
  • 25
1
vote
1 answer

How to cancel operation in xamarin.forms exrin?

I'm try to implement operation as ISingleOperation and Execute it with Execution.ViewModelExecute. I set timeout for 10 seconds and timeout dialog was shown, but execution was not stoped. How can i cancel operation?
Horosho
  • 647
  • 1
  • 8
  • 22
1
vote
1 answer

Xamarin Forms Exrin Framework pushing a container as a Modal?

I've been playing with the Exrin Xamarin Forms framework which I'm liking. I've come to a blocker where I want to push a container as a Modal. Anyone know any tips on how to do this? I can't find any examples, or a best approach on how to push a…
dimoss
  • 1,506
  • 2
  • 16
  • 24
0
votes
1 answer

Exrin MasterDetailPage

I'm using a MasterDetailPage in exrin this is my ViewContainer public class MainViewContainer : Exrin.Framework.ViewContainer, IMasterDetailContainer { private readonly MasterDetailPage r_MasterPage; public…
0
votes
1 answer

How are Exrin services registered to their appropriate models?

After creating a service for a model, how do I tell the model to use that service? Within the sample Tesla app, there exists constructors which call for a service as an argument: private readonly IClimateService _service; public…
Timothy James
  • 1,062
  • 13
  • 25
0
votes
1 answer

ListView's refresh command not working with binded IRelayCommand

I created a form with listview and ISingleOperation fo data refresh. Then i created command in ViewModel. public IRelayCommand LoadInvoicesCommand { get { return GetCommand(() => Execution.ViewModelExecute(new…
Horosho
  • 647
  • 1
  • 8
  • 22
1
2