i'm using MvvmCross on xamarin iOS. I'm using fluent for the bindings on the ViewModel and json. I wanted to try the WithFallback() function, but when the property on my ViewModel (string in this case), comes null or empty, it doesn't do anything. I tried this:
//This works
this.BindLanguage(Header1, "Title");
/* This works when vm.Message is not null or empty,
/* else print nothing, but don't call the WithFallback function
*/
set.Bind(myLbl).For(view => view.Text).To(vm => vm.Message).WithFallback("Something");
set.Apply();
And another question is how i can bind that fallback with a property of the viewmodel or json. Thanks a lot!