I have to convert a UWP app to be compatible on all OS. I am creating cross platform- Native portable xamarin project for this and not using xamarn.forms and whose core is a PCL. I have used MVVM light in my existing UWP app. I see that mvvm light is not compatible in xamarin.touch. What should I go ahead with? Can I use mvvm light for windows phone project and mvvm cross for others? or Should I use mvvm cross for all?
Why do you think MvvM light is not working with Xamarin.iOS?
MvvMLight is available for
Windows Presentation Foundation (3.5, 4, 4.5, 4.5.1)
Silverlight (4 and 5)
Windows Phone (7.1, 8, 8.1 Silverlight, 8.1 RT)
Windows Store (8, 8.1)
Xamarin Android
Xamarin iOS
Xamarin Forms
http://blog.galasoft.ch/posts/2014/10/announcing-mvvm-light-v5-for-windows-and-xamarin/
So you can use MvvM light or MvvMCross. I'd not recommend to use both frameworks in one project.
Related
I develop many UWP apps to Windows 10, but to Windows 11 I have so many questions and sometimes the Microsoft Docs it's confusing. I want develop new apps to Windows 11 but I am totally lost!
What is the difference between Windows App SDK and WinUI 3? I dont understand :(
And what is the best way to develop Windows 11 apps? Still UWP? Or Windows App SDK? Or WinUI 3?
UWP dont have round corners thats correct? I create a new project in my computer with Windows 11 in visual Studio 2022 and only the window of my app have rounder corners, but another elements (for example buttons) dont have rounded corners!
And Mica is not only availabe in WinUI 3?
The Windows App SDK is the next evolution in the Windows app development platform.
WinUI is the UI part of the Windows App SDK. It provides UI features for the Windows App SDK apps. When you create a Windows app SDK app, you have to use WinUI3 to create the UI layout. The previous version of WinUI like WinUI 2.7 could be used in UWP apps.
Using UWP or Windows App SDK depends on your own requirements and scenario, both of them could work on Windows 11.
I have a need to create a desktop application that can run on Windows machines (Windows 7, 8, 10 and Windows Server). I understand I can use Classic WPF, but prefer to use Xamarin Forms.
Does XF support Windows Desktop apps? If so, are there any gotchas to be aware of?
The next release of Xamarin Forms, Xamarin Forms 3, is going to add full support for desktop apps on Windows, Mac OS and Linux. The MacOS support is in preview now, but the Windows support is still in development.
As I understand it, the plan is to use WPF for the Windows support, so your solution would include a WPF project in addition to each of the other platform specific projects. That will allow development of traditional desktop Windows apps, rather than UWP type apps.
The hope/assumption here is that, because these are WPF apps they should therefore be able to run on versions of Windows that don't support UWP apps - Windows 7 and Server 2008 for example.
There's more on what's coming in Xamarin Forms 3 on the Xamarin Blog here, and also in the Microsoft Build 2017 talk by David Ortinau.
I was at a talk by Xamarin TSP Michael Sivers last night and he mentioned that there are discussions ongoing about a XAML standard that could be adopted by both Xamarin and WPF which makes a lot of sense in the context of Xamarin forms apps on WPF.
on Windows, Xamarin Forms supports UWP apps only.
I am new to Xamarin. I want to implement MVVM pattern. My question is, Can we use MVVM light for Xamarin iOS and Android projects ?
MvvmLight is available as version 5.3.0 in Nuget. https://www.nuget.org/packages/MvvmLight/
It should work for iOS and Android amongst others.
I was giving an interview for a company and I was told by the architect that they are creating iOS apps from Xamarin.iOS ( NOT Xamarin Forms) with MvvmCross framework and they use storyboards for UI. But if the UI is very simple they use XAML to create them.
I never knew we can use XAML for Xamarin.iOS and Xamarin.Droid. We had a small discussion/argument if that's even possible. He said they were using it successfully.
My question, is it really possible to use XAML in Xamarin.iOS and Xamarin.Droid. Because, if we can do that, I feel no use of using Xamarin forms.
If yes, can anyone provide some kind of documentation?
Thank you.
There is no way to design UI in XAML using Xamarin.Android or Xamarin.iOS, but you can include Xamarin.Forms page in Xamarin.Android or Xamarin.iOS app. This way you can have native app with UI using storyboards, but with some Xamarin.Forms pages designed in XAML.
There is a sample how to do that in Xamarin Forms samples project on GitHub.
Only Xamarin Forms support sharing of UI via XAML.
UI for iOS has to be made using xib or storyboard.
For Android using AXML.
Windows Phone, UWP, WinPhone Silverlight, Windows can use XAML for UI.
I make WP for 8.1 application UWP. It uses the library of Prism.MVVM, Prism.StoreApps and Unity.
What library the new version should I download from Nuget (or compile from source) make everything work with minimal changes?
You can make a list of what methods/classes are named differently in the new version?
Sorry for my English (Bing Translate :-))
Prism 6 doesn't support WP 8.1. It only supports WPF, WIndows 10 UWP (Universal Windows Platfomrs), and Xamarin.Forms.