Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 91519 articles
Browse latest View live

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 Article


android 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 Article


ObservableCollection 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 Article

why 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 Article

Starting 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 Article


Image may be NSFW.
Clik here to view.

Reference 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 Article

Layout 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 Article

Image may be NSFW.
Clik here to view.

Diabolical 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 Article


Xamarin 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 Article


How 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 Article

How 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 Article

Error 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 Article

multiple 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 Article


Binding 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 Article

Error: 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 Article


Data 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 Article

Image may be NSFW.
Clik here to view.

Custom 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 Article


Xamarin 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 Article

How 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 Article

Event 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
Browsing all 91519 articles
Browse latest View live