mvvmcross Questions

3

Solved

I'm trying to use an MvxValueConverter to set the background color of a LinearLayout based on a boolean value. The converter looks like this: public class BackgroundColorValueConverter : MvxValueC...
Monasticism asked 5/3, 2014 at 18:53

2

Solved

I am using MvvmCross in my Xamarin Android project. I have an MvxActivity with an MvxRecyclerView, that I have assigned an item template in its layout file. <MvxRecyclerView android:id="@+id/m...
Devereux asked 10/10, 2016 at 15:39

1

Some context In this screen you can add and remove people. Not all fields are required, so the cell height is dynamic. The problem If I add first a person with all the fields completed, then a s...
Gaffer asked 6/9, 2016 at 18:38

2

Solved

I currently have a View (Android Fragment) and a coresponding ViewModel. I now want to raise an event in the ViewModel which the View can subscribe to. What's the best way to archive this? I heard...
Apogeotropism asked 4/9, 2016 at 9:18

2

Solved

I've updated to MvvmCross version 4.2.1 from version 4.2.0 via NuGet and now the Android project crashes during startup. An MvxException is thrown during the splash screen with the message: Mvvm...
Denishadenison asked 5/7, 2016 at 20:39

3

Solved

I have been using MvvmCross on a cross platform mobile project and have 2 different views in a MonoTouch project that are using the same shared viewmodel and not sure how to go about structuring my...
Obadiah asked 24/4, 2012 at 11:50

4

Solved

I have a long running process in an mvvmcross viewmodel and wish to make it async (http://msdn.microsoft.com/en-us/library/vstudio/hh191443.aspx). The async keyword is currently supported in the b...
Chenopod asked 19/6, 2013 at 9:1

2

I am using UserDialogs library in my MVVMCross project. The following code has been tested and works perfectly fine, I could able to see Loading Dialog. The issue that I have, how could I able to c...
Ritaritardando asked 30/6, 2016 at 19:58

4

Solved

I'm trying to figure out why I get an error message about not being able to find the right ViewModel when I'm running my iOS app. The question I have is when I look at this example I don't underst...
Assessor asked 11/7, 2013 at 19:48

2

Solved

I am trying to go from an activity to another. I am still learning about MVVMCross so this whole pattern is still very new to me. I am applying it with Xamarin.Android only at the moment. The setu...
Vertumnus asked 17/6, 2016 at 8:21

1

Solved

I have used the following template in my Android application which has navigation drawer has a list of options such as Settings. https://github.com/MvvmCross/MvvmCross-Samples/tree/master/XPlatfor...
Seethrough asked 19/5, 2016 at 20:57

1

Solved

I try to add a fragment to an activity and have already looked at the example from Martijn00. My problem is, that the activity will be displayed but the fragment will not and in debugging mode, th...
Wrapped asked 25/5, 2016 at 9:58

1

Solved

Currently I am working on unit tests for a Xamarin MvvmCross Application using SQLite.Net-PCL 3.1.1. The unit test project is a normal .NET project. So now I am mocking the MvxSqliteConnectionFact...
Richey asked 24/5, 2016 at 8:54

1

Solved

I have recently updated my Xamarin.Android app MvvmCross package from 4.1.4 to 4.1.5 and now unable to launch my app. Couldn't even debug the issue as long as my code doesn't get any control before...
Annoyance asked 23/5, 2016 at 6:58

1

Solved

I am looking for an example or documentation to work with fragments in the current mvvmcross version. I found a lot of information about the old versions but I am confused how I should implement it...
Dihedron asked 19/5, 2016 at 9:32

2

Solved

I am trying to change the background color of the spinner with binding BackgroundColor property in as follows, but it is having no effect. View.axml <mvvmcross.droid.support.v7.appcompat.widg...
Herring asked 13/5, 2016 at 22:53

5

Solved

In the ViewModel, I have Save method where I check isValid property. If isValid is false, then I want to display an error message. Since AlertDialog is platform specific, I wonder how do you han...
Hyperthyroidism asked 11/5, 2016 at 16:33

1

I'm trying to create a neat solution for the following requirement: a) When the user 'taps' on a notification that my app receives and the app is open and/or in the background, the app will be bro...
Hurter asked 30/11, 2015 at 15:1

1

Solved

I'm making a GridView that's suppose to view images with text. The images are taken from url's and my problem is that they're not loaded. Inside a grid item template I have this element: <Mvx....
Cutright asked 28/4, 2016 at 14:28

1

Solved

Am new to MVVMCross with xamarin.android so little struck up with a scenario. I have a fab and mvx.recyclerview inside a fragment. so when i click on this fab it will make the recyclerview scroll b...
Mezzo asked 27/4, 2016 at 17:0

3

My application debugs fine on the iOS simulator, and it runs fine when I build and deploy an ipa file to the device. However, if I try to debug on the device (iPhone 9.3.1 and iPad 9.3), the app im...
Calv asked 21/4, 2016 at 13:45

2

I'm looking into getting started with C# app development. I have experience in web-based technologies but am just starting up with desktop/MVVM. I've been watching and reading up on various mvvmcr...
Zoologist asked 27/11, 2013 at 6:44

2

Solved

With MvvmCross, if I want a button to open a new screen, I wire up the command handler and use ShowViewModel, like this: ShowViewModel<InfoViewModel>(); Is there anyway to plug in custom ...
Qua asked 11/7, 2013 at 15:55

0

I'm working on an app that gets Remote Background Fetch (aka. Silent Notification). What I do, is resolving services with Mvx.Resolve that does the fetching over the network. It's working fine whe...
Halfway asked 18/1, 2016 at 9:13

4

Solved

With support for XS integration of iOS storyboards about to make the Stable stream, I would love to be able to use this feature in conjunction with MVVMCross. Fundamentally it does seem a little l...
Geography asked 2/3, 2014 at 11:25

© 2022 - 2024 — McMap. All rights reserved.