mvvmcross

mvx:Warning: Exception masked ArgumentException: An item with the same key has already been added

假装没事ソ 提交于 2020-01-25 22:00:14
问题 I am trying to upgrade an existing Xamarin.Android app from mvvmcross 3.5 to mvvmcross 4.4.0. I have followed this documentation and the app now builds and starts up showing the splashscreen, but it doesn't navigate past the splash screen. When I call ShowViewModel<MainViewModel>() nothing happens. The last Application output I see is the output below. I have currently no idea where to look next. Anybody have an idea? mvx:Warning: 17,87 Exception masked ArgumentException: An item with the

Trouble with xamarin.ios/monotouch , mvvmcross and linking

一笑奈何 提交于 2020-01-22 23:31:09
问题 I have an irritating issue, if I use Link SDK Assemblies only in xamarin studio I get an exception, if I use dont link the exception is not happening. I have located the issue to be part of an third party dll i am using(api for a video streaming service). I believe the linker is stripping some of the methods used by this dll. Is it possible skip link of some libraries and is it possible to see which from this stacktrace. 2013-05-08 14:40:54.688 AppsfabrikkenTouch[5662:907] mvx: Diagnostic: 18

Async/Await in portable class library targeting Windows Store, iOS and Droid

浪尽此生 提交于 2020-01-22 15:35:07
问题 Developping an MvvmCross application targeting Android and iOS (Xamarin/Mono) and Windows Store (because it's so easy/fast to debug compared to iOS/Android). The Core of the app is PCL based. Is it possible to use Async/Await in the Core library? Xamarin mono supports Async/Await, and Windows Store supports it. However, when selecting only Net4.5, Windows Store, Mono Android and MonoTouch as the PCL targets, SL4 and WP7.5 get automatically selected and Async/Await is not availlable anymore.

How to specify view transitions on iPhone

依然范特西╮ 提交于 2020-01-17 08:29:45
问题 Maybe I'm missing something obvious here, but using MvvmCross and loading an view via a command: public ICommand LoadAnotherViewCommand { get { return new MvxCommand(() => ShowViewModel<MyOtherView>()); } } How can I hook in and control the animation that occurs during the transition? Currently, all the transitions are left-to-right sliding transitions, but it's confusing when the user navigates back to a view and sees the same left-to-right transition. Update: I've been trying to figure out

Is there tabbed layout platform provided by mvvmcross?

故事扮演 提交于 2020-01-16 17:04:34
问题 I'm trying to add tabbed layout in xamarin app. I use mvvmcross platform, but it is not easy to find the tabbed layout platform provided by mvvmcross for both android and ios. If there is any platform or example in mvvmcross, pls help me! thanks! 回答1: TR;DR; In the docs of MvvmCross you'll find it in the presenters (Xamarin.Android, Xamarin.iOS, Xamarin.Forms) Basically, you'll have to decore with attributes your views to generate the tabs. Long examples (these are using Mvx 6) Examples

Is there tabbed layout platform provided by mvvmcross?

◇◆丶佛笑我妖孽 提交于 2020-01-16 17:03:55
问题 I'm trying to add tabbed layout in xamarin app. I use mvvmcross platform, but it is not easy to find the tabbed layout platform provided by mvvmcross for both android and ios. If there is any platform or example in mvvmcross, pls help me! thanks! 回答1: TR;DR; In the docs of MvvmCross you'll find it in the presenters (Xamarin.Android, Xamarin.iOS, Xamarin.Forms) Basically, you'll have to decore with attributes your views to generate the tabs. Long examples (these are using Mvx 6) Examples

MvvmCross Dynamic Text Value Conversion

≡放荡痞女 提交于 2020-01-13 17:06:14
问题 As far as I know, MvvmCross localization plugin provides "static" engine. I use the following binding as an example from Conference: local:MvxBind="{'Text'{'Path':'TextSource','Converter':'Language','ConverterParameter':'SQLBitsXApp'}}" I want to be able to change SQLBitsXApp to SQLBitsXApp2 dynamically. The goal is to find the localized text related to days enum. Is there a way to do this dynamically ? 回答1: You're correct - the default MvxLanguageConverter used in that binding is really

TPL on PCL for MvvmCross for PCL Profile 78

你离开我真会死。 提交于 2020-01-13 10:54:10
问题 Trying to use PCL for mvvmcross with TPL by Profile 78 (regarding question TPL on PCL of mvvmcross) On iOS project it's working, but NOT for android . here the Error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.Perhaps it doesn't exist in the Mono for Android profile? File name: 'System.Runtime.dll' at Xamarin.Android.Tuner.DirectoryAssemblyResolve So, does

TPL on PCL for MvvmCross for PCL Profile 78

微笑、不失礼 提交于 2020-01-13 10:54:08
问题 Trying to use PCL for mvvmcross with TPL by Profile 78 (regarding question TPL on PCL of mvvmcross) On iOS project it's working, but NOT for android . here the Error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.Perhaps it doesn't exist in the Mono for Android profile? File name: 'System.Runtime.dll' at Xamarin.Android.Tuner.DirectoryAssemblyResolve So, does

No IMvxImageHelper registered

二次信任 提交于 2020-01-13 07:12:05
问题 I use mvvmcross and can not bind to image URL. Error: No IMvxImageHelper registered - you must provide an image helper before you can use a MvxImageView <Mvx.MvxImageView p1:id="@+id/imgArticle" p1:layout_width="49dp" p1:layout_height="49dp" p1:layout_marginLeft="5dp" p1:layout_marginTop="5dp" local:MvxBind="ImageUrl Image, Converter = Image" p1:layout_marginBottom="5dp" p1:background="#ffff0000" /> My Model: public Guid Id { get; set; } public string Name { get; set; } public string Image {