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

Image may be NSFW.
Clik here to view.

TapGestureRecognizer not following view when using LayoutTo()

I'm using LayoutTo(); to create my own pseudo hamburger menu. Unfortunately, once the view moves, I can no longer tap it again to close it. It's as though the GestureRecognizer is no longer available...

View Article


Calling Grid.Focus() doesn't actually focus the element. Is this a bug or by...

So I have a button on my Android device and when I tap it I call. myGrid.Focus(); I then try to use the property: myGrid.IsFocused; but this always returns false. Is this a bug or is this by design?

View Article


listView ViewCell not adjusting it's size to content on iOS

I have a custom ViewCell that i use to populate a listView. It works like a charm on android, on iOS however i'm having issues. The cell has a Horizontal stackLayout with a box and a 2nd stackLayout,...

View Article

Maintain List View Scroll State

I have a MasterDetailPage with a few items in the Master page. Each time a Master item is selected a ContentPage containing a ListView is assigned to MasterDetailPage.Detail These ContentPage's each of...

View Article

PUBLIC WARNING! Barcode scanning in Xamarin Forms

BACKGROUND: We are building a Xamarin Forms product that uses barcode scanning as a central function. In the early stages we decided not to buy a barcode scanning component, but use the free ZXing...

View Article


Azure app service with FaceBook based authentication

I am developing an app based on Azure App Service Mobile in Xamarin.Forms. Its documentation says, it would take 'only 5 minutes' to add FaceBook authentication to an app. In my case, it was not true....

View Article

Maps, Current Location & Xaml

I wouldn't think that I'm the first to ask this.... but how can you set the current location in Xaml while using a View Model? I've searched & found out that I have to use an external GeoLocator...

View Article

.Register(t => WindowsPhoneDevice.CurrentDevice)

Hi I am using XLab in a XF project and I am getting an error message in my WP8 app on the following piece of code: .Register<IDevice>(t => WindowsPhoneDevice.CurrentDevice) error: Cannot...

View Article


XAML button not triggering?

I have a XAML layout (see below), with a number of buttons. They were all previously working, but since I have updated some of the sizes and positions, one is not working any longer? It appears, but...

View Article


JSON.Net FileNotFound Exception - Where am I going wrong?

Hi, I get the below error when trying to debug a project I have just started in XF PCL 1.4.2 with the following code. APIResponse arResponse = JsonConvert.DeserializeObject<APIResponse>(strJson);...

View Article

Image may be NSFW.
Clik here to view.

Layout errors on Xamarin.Facebook LoginButton

Has somebody has found with this error. I'm using a custom render to use the Facebook LoginButton. On iOS everything goes fine. But Android the button shows like the attached picture. The Text for "Log...

View Article

Support issues with various Android versions

Hi! I am experiencing significant roadblocks with Xamarin.Forms and newer Android OS versions. For example, the cross-platform app which I have developed for iOS and Android has been used by users...

View Article

Using Async in Xamarin Forms

I've created a new Xamarin Forms PCL project for iOS, Windows Phone and Android. I seem to be tying myself up in knots with async methods. The new Xamarin Forms Templates do not seem to be set up with...

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

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


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>