Currently I am learning Xamarin. While searching MVVM Pattern, I found XLABS Framework.
I have tried downloaded XLABS (https://github.com/XLabs/Xamarin-Forms-Labs) and try to execute it but its generate error. "System" not found. "Xamarin.Forms" not found. blah blah blah.......
I have tried to resolved it and finally execute it in Android Simulator, but its crash while launching.
Please anyone guide me how to use XLABS (https://github.com/XLabs/Xamarin-Forms-Labs) Framework using Visual Studio 2017.
Its would be great if anyone suggest, any help document or readymade sample using XLABS to download.
Thanks in advance for time.
Waiting for reply
Regards
Kapil Dave
XLabs is no longer maintained and they state it may no longer work with newer versions of Xamarin Forms.
I would recommend using FreshMvvm as an MVVM framework.
It was specifically designed to work with Xamarin Forms and I have successfully used it on 3 recent projects.
Here is a starter guide
Related
I have a Native Xamarin Android app which is running in Target SDK 30(Android 11). I would like to migrate it into .Net MAUI. I am looking for the steps to do that.
Unable to find a documentation related to that.
Here are two links for your reference.
The article is about Migrating Xamarin.Android Applications to.NET 6. And this about Migrating from Xamarin.Android to.NET 7. It contains two Word docx files NavigationGraph.docx which describes the project and Converting a Xamarin.Android to.Net7.docx describes how to go about the detailed manual migration.
Hope it could help you.
Is there a particular reason why you want to migrate to Maui? Your tags on your post don't indicate any other platform other than Android. If you only want to support Android then I can't think of any reason why you would consider Maui.
Please disregard if that is not the case.
Prism for Xamarin Forms does support iOS applications, but, as far as I can tell, does not yet support applications for the Mac itself. Two years ago Prism logged this as an issue, but shortly afterward closed it with the comment "Done". If such support does exist, where can I find it documented? If it does not, does the Prism team still expect to add it?
Unable to find any documentation in Prism Library of support for Xamarin.Forms.MacOS.
From this blog post of one of the Prism developers:
Whats New Since 6.3 You may be thinking that NetStandard is great and
all but that isn't really new. As part of Prism updating to Xamarin
Forms 2.3.5, you will now have full support for working with Prism on
macOS applications.
So technically it should work.
Some developers have told me about it's possible to create iOS projects in Microsoft Visual Studio thanks to an Xcode plugin.
However, I can't find the proper way to install it, I already have tried to download it from here and I installed it but it doesn't appear when I try to create a new project.
So, if anyone can tell me the steps I have to follow in order to install the plugin properly, it would great.
Thank you in advance!
The xcode build tool you're trying to use has still a lot of issues and only few workflows are being implemented and supported. I suggest that if you wanted to create cross platform application and would like to use Visual studio code IDE then i suggest on using Xamarin its code base is c#. If you're using a mac computer then why not use xcode and if you're a windows user and wanted to create iOS apps then xamarin would be the best choice for you or unless you want to try frameworks like ionic etc. I hope i was able to help.Also , I can't comment because of still low repu , so I decided to post this as answer.
Thanks in advance!
I haven't tried the free VisualStudio 2015 Community Edition, but I know that it has Xamarin Starter Edition included. I read that it has Xamirin.Android/iOS but not Xamarin.Forms, also that there are certain restrictions.
I wonder how to do the UI in the Starter Edition if it doesn't include Xamarin.Forms. What technology is being used to do the UI in this case (for Android)? Is it MVVM oriented?
If it is somehow possible to do the UI for Android in the starter edition, what UI development approach/pattern is best, so that it's best to migrate to Xamarin.Forms later on? Is it classic MVVM? Or may be it's even easier, so that I will be able to use the same say XAML code...
You are able to design a fully native Android UI using Xamarin. Read the tutorial.
If you want to use the MVVM pattern then you should consider using MvvmCross. Read the tutorials, see the sample codes or watch the N+1 videos.
I'm developing some apps using the MvvmCross framework, and I'm having some problems with the debug of PCL's when running "Droid" projects in VS2010.
I've downloaded the sample apps from GitHub/MvvmCross and tried to debug the PCL's through Droid projects. When the app his deployed in the device (emulator or physical), no break points are hitted inside the PCL code. If I use a WP7 project, I'm able to debbug through the PCL code.
I've got VS2010 and VS2010 installed. I've followed all the instructions in http://slodge.blogspot.co.uk/2012/09/mvvmcross-vnext-portable-class.html and http://jpobst.blogspot.co.uk/2012/04/mono-for-android-portable-libraries-in.html.
I've searched for post related to this issue, and I've found nothing related to PCL debugging in VS2010.
I know thas this is a fairly vague post, but I'm just trying to find someone else that had this same problem, and hopefully beeing able to help me.
In my experience, the MonoDroid debugger often breaks - and the PCL support is obviously also 'nascent' at best.
Developers can help you with advice like 'make sure fast deployment and shared (debug) SDK is selected' but fundamentally you'll need to ask Xamarin for a fix.
My advice - log and pursue the problems with Xamarin through their forums, through bugzilla and through any customer support contract you have.
In the meantime without MonoDroid debugger, then it's back to WinRT and WP (and MonoTouch on Mac) for debugging your PCLs
- or it's back to 'old skool' techniques like adding trace