Application.Properties and custom types
I have a custom type that's basically just a bunch of string properties. If I try to persist the object using Application.Properties (which is a Dictionary<string, object>) in Xamarin Forms, it...
View Articleandroid custom renderer onDraw (even DispatchDraw), not getting called on...
Hi folks, I'm wondering if I'm doing something that just won't work with async. My custom renderer sets a boolean flag in my control to tell it to "start rendering". In my OnElementPropertyChanged, I'm...
View ArticleObservableCollection doesn't seem to be updating the list view
Hi, I have a small app that displays the values from some iBeacons (estimote ones). The platform app is picking up the tag information and will output them in the Xam.Forms based UI. When the RSSI...
View Articlewhy do breakpoints often stop working??
Hi folks, I'm happily stepping through a piece of code of which my breakpoint was hit within a while loop. The while loop is enclosed in a try catch, but there doesn't seem to be an exception going on....
View ArticleStarting with Xamarin.Forms 1.5.1 pre-2
Hello, I started to check the new pre release from Xamarin with Material Design support, and I get this java.lang.RuntimeException: Unable to find application Mono.Android.Platform.ApiLevel_23 or...
View ArticleReference to type `System.IConvertible' claims it is defined assembly...
Anytime I try to reference an NUNIT data type in the iOS framework, I am given a compiler error saying it can't find the IConvertible type Error CS7069: Reference to type System.IConvertible' claims it...
View ArticleLayout cycle detected. Layout could not complete. after resetting...
I am having an issue with the windows phone and a listview. The listview has a hundred or so items and the ItemsSource is changed based on a picker. So when a new item is selected from the picker I set...
View ArticleDiabolical WinPhone Memory Leak
I currently have a memory leak I can find no work around for. I have lodged a bug report with a repro here: https://bugzilla.xamarin.com/show_bug.cgi?id=34756 While Xamarin are getting around to even...
View ArticleXamarin forms android image is not getting compressed
I'm working on xamarin forms project. I'm taking images from gallery and uploading those to server. My back-end is parse backend where we can not upload files having size more than 1MB. So, I'm trying...
View ArticleHow to change renderers that change with time
Hi Xamarin Experts, Normally, when one creates a custom renderer, BindableProperty is used, and in the custom Renderer, OnElementPropertyChanged is called which alters something in the view. If I want...
View ArticleHow to change the nav bar background color on Android?
Hello I'm having issues with setting the navbar color with this: var mainNav = new NavigationPage (new TodoListPage ()); mainNav.BarBackgroundColor = Color.FromHex ("a97946"); MainPage = mainNav; This...
View ArticleError in VervetaCRM code example
Hi Friends, When compiling the sample code generates errors VervetaCRM , one of them says : " As this call is not ' awaited ' current method execution will continue before the call is completed ....
View Articlemultiple custom renderer weirdness
I have a forms page that is a checklist, containing about 20 XLabs SegmentedControlViews. These get custom rendered into UISegmentedControls in iOS. When I place 20+ of them in a TableView I am getting...
View ArticleBinding ImageCell.ImageSourceProperty and ImageSource.FromUri
I'm trying to fill a ListView with images from a web server. (contact list like) but I can't achieve nothing, images doesn't appear thou they are 84x60 and the ListView.RowHeight is set. the listView...
View ArticleError: Code signing failed.
I have an older Xamarin.Forms project (created late last year). I'm trying to rebuild the iOS version to run on 9, but no matter what I set for signing options I get "Error: Code signing failed.". I...
View ArticleData bind Button.CommandParameterProperty to Entry.Text in Code Behind
Hi Please translate the following (from https://forums.xamarin.com/discussion/43904/how-to-pass-multiple-parameters-using-command-interface) <StackLayout x:Name="entryForm" > <Entry...
View ArticleCustom Rendering every Visual Element for Swipe Gestures?
We wanted to have own Views for Tab Buttons so we built a custom Tabbed Page. Now we want to make it swipable. I started making a custom renderer for StackLayouts, because in every Tab is a stacklayout...
View ArticleXamarin Forms Android WebView support for Non-Web Documents
I am using a WebView to display Non-Web Documents. This works great on iOS but on Android it only displays images. Note that I am doing this on the Portable Project. Checking Xamarin's documentations I...
View ArticleHow to bind AbsoluteLayout.LayoutBounds in XAML
I am trying to bind AbsoluteLayout.LayoutBounds in XAML, but i'm not sure exactly how to get it to work. Anyone know how to accomplish this? Here is my code so far: <AbsoluteLayout> <BoxView...
View ArticleEvent of button is not getting fired in absolute layout
Hello All, I am facing an strange behavior in Xamarin.forms. When i m writting below xaml code it's working fine as expected but the same thing i m trying to achieve dynamically from code behind event...
View Article