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

Cross Geolocator Consent Event Notifier

I'm successfully using the Geolocator Plugin from @JamesMontemagno in a Xamarin.Forms app to query a user's location. On iOS: 1) It successfully shows the consent dialog box upon the first (ever)...

View Article


Xamarin forms fill animation for page

We need to animate a page ie where on tapping an information button - The page flips to show backside with information - like apple widgets or Google now Cards. Can anybody please point us to any...

View Article


Is there a way to dismiss Page.DisplayAlert() on background xamarin.forms app?

In regular android you'd save off the dialog and close it on home button pressing. But you're not given a dialog object you can dismiss in Forms. Is there some mechanism to close the dialog after the...

View Article

Xamarin.Forms.Entry FontFamily property

I've got a Xamarin.Forms project in which I'm trying to use an Entry and set its FontFamily in XAML. I keep getting a XAML exception about the FontFamily property not existing. I'm working in Xamarin...

View Article

'Random' Crashing of Xamarin form Android App

I am getting a crash of "Unfortunately, App has stopped' at seemingly random times. This seems to happen when navigating away from a form. So I might have Page A, Page B and Page C. A normal user...

View Article


System.Collections.Concurrent

I need to use a thread safe List. I was hoping to use the BlockingCollection in System.Collections.Concurrent but it does not seem to be available in Xamarin Forms PCL (targeting 4.5, iOS, Android...

View Article

Waiting on an event asynchronously

Hi Forms experts, I've seen it's sort of possible to wait on events asynchronously with C# -- https://msdn.microsoft.com/en-us/library/hh873178(v=vs.110).aspx (note that the link is not being...

View Article

Problem in Xamarin.Forms Ios app

Hi Guys, I'm facing problem with Xamarin.Forms Ios App.I'm getting this error. Can any one help to get out of this issue. System.Exception: Could not initialize an instance of the type...

View Article


XF ListView custom renderer

Hi, I am following the sample of Xamarin.Forms Listview custom renderer - https://developer.xamarin.com/guides/cross-platform/xamarin-forms/custom-renderer/listview/ It is working fine if I bind the...

View Article


Xamarin.Forms iOS UIKit.UIImage Error

I've been working with making a mobile app using Xamarin.Forms. I have everything working on android, but when I try to launch on iOS I get the error: System.Exception: Could not initialize an instance...

View Article

Use a iOS Imageset inside a XAML view file (PCL-Project)

Hello, I am trying to use in the iOS-Project instead of a normal BundleResource PNG-file a Imageset with more resolutions. In the moment I have a PCL-Project as shared platform between Android and iOS....

View Article

System.ArgumentException: 'jobject' must not be IntPtr.Zero

Suddenly this is all I'm getting. I've narrowed it to a navigation call, whenever I call App.Current.MainPage = somePage;, or returning from background. I was in heavy development and navigation was...

View Article

OnScroll event in ScrollView

Anyone know if there is a way to hook into the scroll event in ScrollViews? I want to add infinite scroll to a ListView, but without any way of knowing when the user reaches, or getting closer to, the...

View Article


Image may be NSFW.
Clik here to view.

Your experiences with update to Win10 + VS2015…?

Hi all I work with Win 8.1 and VS2013 Update 2 and XF 1.4.4 “stable” and XLabs right now. On the base of various reasons, I have to update to Windows 10 and VS2015 in the near time. As we develop also...

View Article

How to add checkbox control in XAML

Hi, I want to add Checkbox control in Xaml page. I added below code in .Xaml page. <CheckBox Margin="10, 10, 3, 3" Name="acceptPolicy" Content = "Accept our policy" FontSize="12"...

View Article


Json Web Tokens

Hello everyone, I'm searching around the net how I could decode a JWT token to fetch the expiration date in C#. Only I couldn't find many solutions / examples for Xamarin. I tried adding...

View Article

Unhandled exception occured while using DatePicker in Xamarin.Forms.ContentPage.

Hi, I am trying to use datepicker control in in an application using Xamarin.Forms, but getting an error. The first time the activity is started, date picker work just fine ... however, whenwe close...

View Article


Done button not firing completed event on Entry

I have used the Xamarin example of adding a Done button to a numeric keyboard however this is not firing the Entry Completed event. I can see that the delegate is being executed when the done button is...

View Article

How are we to do global exception handling in Xamarin.Forms?

I've found the AdvancedLifecycleDemos for Android, and I'm thinking of converting it to some sort of cross platform implementation, but I'm wondering if someone has already done this? I haven't found...

View Article

How can i validate Entry control as required in xamarin.forms ?

Hello, How can i validate Entry control as required in xamarin.forms ? Already i have tried xamarin.behaviors. but didn't worked.... anyone can assist me ?

View Article
Browsing all 75885 articles
Browse latest View live


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