All Questions

3
votes
1answers
8286 views

In MvvmCross how do I do custom bind properties

I am using MvxBindableListView to bind a List<> of data objects to a ListView. The layout I am using for the rows has several TextViews. I am successfully binding the Text property for each of t...
7
votes
1answers
5345 views

MVVMCross changing ViewModel within a MvxBindableListView

Little problem with my Android application and I don't know how to solve it with MVVM Cross. Here is my Model public class Article { string Label{ get; set; } string Remark { get; set; } ...
15
votes
2answers
8118 views

Passing complex navigation parameters with MvvmCross ShowViewModel

My complex type wouldn't pass from Show to Init method even with configured MvxJsonNavigationSerializer as specified here Custom types in Navigation parameters in v3 public class A { public string S...
2
votes
1answers
1963 views

MvvmCross Android - Alternative to RelativeSource binding for button command

I have a list of items bound to a MvxBindableListView with a MvxItemTemplate. I usually have 4 items in my list bound to my view. Data gets updated and the view displays the new data just fine. Now, ...
26
votes
4answers
7299 views

MVVMCross support for Xamarin.iOS Storyboards

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 like...
14
votes
0answers
405 views

MarkerClick works but InfoWindowClick does not open ViewModel

The following MarkerClick implementation works, perfectly fine. I could able to open other View via ShowViewModel View.cs mMap.MarkerClick += MMap_MarkerClick; private void MMap_MarkerClick(object ...
8
votes
1answers
6337 views

MvxListView create binding for template layout from code

Lets say I have a simple Layout with a MvxListView: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:local="http://sc...
13
votes
1answers
4892 views

ViewModel LifeCycle, when does it get disposed?

In mvvmcross v3 ViewModel public class TimerViewModel : MvxViewModel { System.Timers.Timer timer; public TimerViewModel() { timer = new System.Timers.Timer(500f); timer...
7
votes
2answers
5867 views

MvvmCross Mvx.Trace usage

I'm using MvvmCross. In the library I see usage of Mvx.Trace method, but no output to the console/output window. How to use it? p.s. I have set the compiler constant Trace = true Thanks.
4
votes
1answers
2186 views

MvvmCross: change update source trigger property of binding on MonoDroid

I will like to change the default binding trigger from PropertyChanged to LostFocus on a Droid EditText view: <EditText android:layout_width="fill_parent" android:...

Previous Next