ListView inside StackLayout: a height problem
In a ContentPage I have a ListView inside a StackLayout inside a ScrollView. The ListView is populated (ItemSource is set) in the ContentPage when OnAppearing gets called and I can see that the list is...
View ArticleXamarin Forms ListView Android crash
Hi guys, we are experiencing this crash in our app 10-27 14:42:20.821 E/AndroidRuntime(11355): FATAL EXCEPTION: main 10-27 14:42:20.821 E/AndroidRuntime(11355): java.lang.RuntimeException:...
View ArticleHow to write a unittest with Device.OnPlatform()
Hello I want to test a method on the pcl-part. The IOS-Part do other stuff than the android one. For example the ios-part make a ModalPush and the android-part a normal one How do you test such parts?
View Articlenuget packages, forms versions
We recently started to use an add-on for Xamarin Forms. This was retrieved with nuget. The add-on in itself functions great however sometime after installation we started to get 'xamlctask' compilation...
View ArticleDeployment failed. Architecture not supported.
Hi I am getting the below error while deploying.. The package does not support the device architecture (x86). You can change the supported architectures in the Android Build section of the Project...
View ArticleDisplayActionSheet Customization/Style change.
How can I change the look and feel of the DisplayActionSheet (Xamarin.Forms)
View ArticleScanner Event
Hello, I am working on creating a Xamarin.Forms application for Android and I need to incorporate a barcode scanner into the application. I am using an MVVM approach with XAML on the front end. The...
View ArticleGrouped Horizontal Listview
I'm trying to make a grouped listview with the items (which just consist of an image and a title underneath the image) in each group side by side rather that in a single column. Has anyone done...
View ArticleException creating FragmentContainer when using AppCompat activity
My users are reporting this exception a lot: Managed exception: Unable to find the default constructor on type Xamarin.Forms.Platform.Android.AppCompat.FragmentContainer. Please provide the missing...
View ArticlePush Notifications and Calendar - Cross Platform
I am trying to ensure that Xamarin.Forms will do all that we need for cross platform App development, before we purchase licenses. Two separate requirements we have, are to be able to : Generate a...
View ArticleUpdate to Xamarin Forms 1.5 and Xamarin.iOS for iOS 9 breaks SignalR Client...
Hi, I have a PCL 4.5 - Profile 7 Xamarin.Forms project that uses the Microsoft.AspNet.SignalR.Client NuGet package (in the shared DLL project, not the device-specific projects). It doesn't do anything...
View ArticleHow to dismiss ViewCell context actions
I'm looking at android at the moment here, I have a list view which has cells with context actions. I would like to dismiss the actions when the list is either refreshed or the item selected is...
View ArticleHow to find an element using the REPL if it has no id?
I'm trying to do some UI Tests and I have an element on a view defined using XAML (no code behind is allowed on this project). When I launch the REPL and ask for the tree of elements I get this:...
View ArticleCachedImage FFImageLoading for Xamarin.Forms
https://github.com/molinch/FFImageLoading or https://github.com/daniel-luberda/FFImageLoading/ (new Forms features) DEMO:...
View ArticleXamarin.InAppBilling, how to get Activity not Context in Xamarin.Forms
When a user clicks a button, I want the Google popup to show (if on Android platform of course). I can do it, but only in my regular ProjectName.Droid project. I cannot do it with DependencyService...
View ArticleHow can i implement a timer in xf ? i need a sleep safe timer
Hi all, i currently use "Xamarin.Forms.Device.StartTimer" to start my timer. As suspected, when application goes to sleep mode, timer go to sleep with it. Is there any way to implement a timer ? Please...
View ArticleWhat will be the best MVVM framework in Xamarin.Form
Hi Folks, What will be the best framework for Xamarin.Form? Can I use MVVMLight in Xamarin.Form? Please advise. Cheers
View ArticleForms.ListView crashes when ItemSource has item removed and another inserted
I am at my whits end - any help would be greatly appreciated. I have a PCL Xamarin.Forms app on iOS and Android. The app runs great on Android but crashes on iOS. To best illustrate the issue, I have...
View ArticleSet ContentPage Background Color via Xaml & Converter
Hi, I have a simple contentpage where I would like to change the background color based on a boolean value (false => background color red, true => green). <?xml version="1.0" encoding="utf-8"...
View Article[Tutorial] Using icon fonts in Xamarin.Forms applications
Hey guys, I recently needed to use icon fonts in a Forms project, but the information I found was just bits and pieces, so I decided it might be worth a while to write a blog post about it. Since this...
View Article