mvvmcross

MvvmCross: View inside another View (or the equivalent to a CaliburnMicro Conductor)

天涯浪子 提交于 2021-01-21 05:59:11
问题 I am pretty new to MvvmCross and the mvvm pattern in general, so I started a small learning project and immidiatly ran into a wall. I based my application on the idea of having a MainView which contains a standard Menu and a child MvxWpfView . This ChildView should be a simple ReadMeView first, but on user input it should switch to an other View (the one with actual data on it). I already found a few articles about this issue but none of them worked or i wasn't able to follow. My setup : Core

MvvmCross.Core/Platform 5.7.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'

放肆的年华 提交于 2020-06-25 22:51:31
问题 I'm creating an Android and iOS app using MvvmCross, the latest version. Now as the portable class library is deprecated I am using .NET Standard library version 2.0. I have this warning in the NuGet package of MvvmCross .....though the project compiles but I am not sure if I need to worry about it as the last line says This package may not be fully compatible with your project. Below is the exact warning warning NU1701: Package 'MvvmCross.Core 5.7.0' was restored using '.NETFramework,Version

MvvmCross MvxFormFactorSpecific iPad/iPhone Attributes

天涯浪子 提交于 2020-02-24 09:11:19
问题 I have both iPhone and iPad specific view controllers which have MvxFormFactorSpecific(MvxTouchFormFactor.Phone) and MvxFormFactorSpecific(MvxTouchFormFactor.Pad) attributes, respectively. When the app is run on an iPad, the correct view is found and instantiated. However, when the app is run on a 4" iPhone, it throws an exception saying the "Could not find view for...". So is this a bug or am I doing something wrong? Also, does MvxTouchFormFactor.Phone defaultly target 4" iPhones or do they

MvvmCross - MvxBind not bind properly

好久不见. 提交于 2020-02-08 11:41:06
问题 In my viewmodelA, I have a property that when the button from my fragmentA.axml is clicked, I do Mvxbind and the screen changes and it shows viewmodelB and also I send an http request and I am getting response as expected. This works exactly how I want it to work. But the problem is, I can seem to show that response in my fragmentB.axml page (someNumber and status). Can anyone help me out with this problem. Thanks!! ViewmodelA.cs: public MvxCommand SomeCommand { get { return new MvxCommand(()

MvvmCross: How do I use the MvxTableViewController with a nibname?

徘徊边缘 提交于 2020-02-05 02:34:08
问题 I don't see the constructor that takes a nibname for the MvxTableViewController. I do see it for MvxViewController. 回答1: The nib-based constructor isn't currently exposed by MvvmCross - so you can only currently do this by: forking the source code and building your own copy copying the source code into your own classes and using those - this isn't a big chore - you'd just need your own copies of: https://github.com/slodge/MvvmCross/blob/v3/Cirrious/Cirrious.MvvmCross.Touch/Views

Nuget Packages are missing in Visual Studio

核能气质少年 提交于 2020-02-02 11:24:05
问题 I have been using xamarin studio, it works fine when I download a sample project from mvvmcross. It compiles and deploys the device perfectly. But when I open the project in the visual studio, there are a lot of missing packages for some reasons. Is there a way of handling ? I am using Nuget 2.8 in Visual studio 2013 When I open Nuget as follows, there is a button to restore the missing packages. I clicked on it. Then it is attempting to download the missing packages, and then it realizes

Nuget Packages are missing in Visual Studio

纵然是瞬间 提交于 2020-02-02 11:24:04
问题 I have been using xamarin studio, it works fine when I download a sample project from mvvmcross. It compiles and deploys the device perfectly. But when I open the project in the visual studio, there are a lot of missing packages for some reasons. Is there a way of handling ? I am using Nuget 2.8 in Visual studio 2013 When I open Nuget as follows, there is a button to restore the missing packages. I clicked on it. Then it is attempting to download the missing packages, and then it realizes