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

Xamarin.Forms.Platform.WinPhone.FormsApplicationPage.OnDeactivated null...

When the application loses his focus (e.g. open the browser) following exception will be thrown: System.NullReferenceException: Object reference not set to an instance of an object. at...

View Article


Bug in Picker? Observing weird behavior (code included)

I am having some trouble updating a Picker with new content and wondering if I'm experiencing a bug? I have a xaml page with two pickers; Picker1 and Picker2. They are bound to a viewmodel using the...

View Article


TabbedPage Tabs Height

Hi everyone, I'm developing an Android application for mobile phone. I'm using Xamarin Forms and Android 5 Lollipops (AppCompat v7). I've got a XF TabbedPage, and i'm wondering if it's possible to...

View Article

system.argumentexception: an item with the same key has already been added

I know this is avery general error, but I suddenly cannot debug my xamarin forms application anymore on my iOS device: system.argumentexception: an item with the same key has already been added any...

View Article

DisplayActionSheet crashes the app, when user touches outside to cancel....

var action = await App.Current.MainPage.DisplayActionSheet(t.SiteName + "\n" + t.AddressLine1, "Cancel", null, "Continue" , "Open");

View Article


How to create In-App Notification Toasts in Xamarin Forms

I'm currently receiving APNS and GCM Push Notifications Out-of-App in Xamarin Forms, however have a story for In-App Notifications as well. Presently, I'm catering for ContentPages, or ContentPages in...

View Article

WebView not showing html web page in simulator

I have the following xaml `<?xml version="1.0" encoding="utf-8" ?> <ContentPage.Content> <!--<Label x:Name="message" Text="here" VerticalOptions="Center" HorizontalOptions="Center"...

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


ProgressBar IOS height

Hi all, Below is my custom renderer (in case it helps anyone) for a progress bar (IOS). Is there a way to increase its height? I can't find a way to do that, I've already changed the color. [assembly:...

View Article


Saving application state

Is it possible to save application state when the orientation is changed or app is "minimized". Android examples do not preserve it when orientation changes and are open in the main activity instead.

View Article

Localize in Shared Project

I saw this tutorial http://developer.xamarin.com/guides/cross-platform/xamarin-forms/localization/ But I can't make RESX file in shared project, so I can't also localize app. How should I localize app...

View Article

Trying to release but build errors on NSMutableDictionary

Its been about 2 months since my last release, but trying to build one now I get. path/MTOUCH: Error MT2002: Failed to resolve "System.Void...

View Article

How to read windows phone screen lock timeout settings

Is there a way to read the windows phone screen lock timeout settings? I want to read that for how long the user has set the screen lock timeout duration.

View Article


Hyperlink for Windows phone

I want to display EULA text on login page. The EULA text should appear as hyperlink, so that user can click and read it. I have used the Lable control var tapGestureRecognizer = new...

View Article

Xamarin.Forms.Labs.Mvvm - App OnResume how to reload the page

I have successfully implemented the OnResume on my xamarin forms app (PCL) we are building , OnResume works fine. My issue is: OnAppearing() I load data from sqlite db and show them , and once the user...

View Article


await in iOS device

Hi, I am making an app and have an await call in my login page. Basically the async method is run when a button is clicked and in this method it awaits a login method that verifies and sets my...

View Article

Picker Control sometimes does not render the 'Done' button

Environment: Win7 Visual Studio 2013, build for iOS 8.2 Xamarin v 1.5.1.6471 (this also happened in my previous version 1.4.4.6387) iOS 9.1 and OSX 10.9.5 I have a page with about 30 controls in a...

View Article


Xamarin.Forms GetUser using REST call with username and password (MVC 5...

I am trying to consume a REST service in a Xamarin.Forms PCL app. The REST service is a claims-based, Individual Accounts MVC 5 API. More information on that here....

View Article

Android keyboard and the ContentPage view collapsing/expanding issue w/...

Hi, after I upgraded to 1.5.1 and getting material design in place, my app is working and looking great in Android. HOWEVER the view when focussing or unfoccusing the keyboard does not work as...

View Article

Dynamic ListView row height not working on iOS in v1.4?

According to the Xamarin ListView documentation, if I set HasUnevenRows, all will be well with dynamic row heights. In reality, it works fine on Android, but does not work at all on iOS. In my...

View Article
Browsing all 75885 articles
Browse latest View live


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