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

Given Key Not Present in Dictionary Xamarin Forms

I Have a Login ViewModel something like this below public class LoginViewModel : ViewModelBase { private readonly IAuthenticationService _authenticationService; public...

View Article


AmbiguousMatchException on Android

Lately we'ven been having issues with app crashes when loading a specific view. The crash only seems to appear on Android and often doesn't reoccur when the view is loaded a second time. I've been able...

View Article


Button IsEnabled Binding

The problem arises only on iOS platform. I have 4 buttons which should be enabled/disabled regarding to the parameter. For this to work I have a converter. When the page is first loaded I can see with...

View Article

Xamrin.Forms iOS ListView - ViewCell height is wrong ONLY on application...

I have a xaml based ListView ViewCell with an image and 3 grid rows of text that is not rendering properly the FIRST TIME the application is started. It is the first page of the application after...

View Article

How to prevent overlapping navigation in NavigationPage?

I am currently trying to fix an annoying problem in my Xamarin Forms app (iOS and Android). Assume a NavigationPage that currently has two pages on the stack: Page2 (topmost, currently displayed) Page1...

View Article


Animate Listview item position change - Xamarin Forms

If I have a listview with items such as a leader board. What is the best way to take control of animations when positions on the leader board change? I.e. When the item's position index changes in the...

View Article

How can I make a website, android and ios app.

Hi, new to the platform. I see how to do the android and ios, how do I also build a website app that shares code with android and ios via Xamarin. Thank you for answering what is probably a silly...

View Article

Using ACR.UserDialogs, can you close a dialog (like Login) in code?

I want to close the dialog if it is open when the app closes so that when the app is opened again it won't still be up. Is it possible to call close / cancel on the dialog?

View Article


How do i bind a property text of the label

I have this layout <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> <RowDefinition Height="*" /> <RowDefinition Height="*" />...

View Article


Xamarin: Get the keyboard height Cross platform

Can anyone help me out to get this.

View Article

Image may be NSFW.
Clik here to view.

Themes leaking WeakReferences (I think)

I've been spending a lot of time trying to track down memory leaks in our Xamarin.Forms app on Android. After a lot of blind alleys and false dawns, I think I may have come across something which is...

View Article

Xamarin Forms Map error on Andriod

I'm getting a Unhandled Exception when debug project. ///////////////////////////////////////////////////////////////////////////////// Unhandled Exception: Java.Lang.NumberFormatException: For input...

View Article

Assertion error for ViewCell.Tapped

I'm getting a weird error for what feel like should be something straightforward. I have a ListView with a DataTemplate shown below. For some reason when I run this, and tap on a cell, it closes...

View Article


Rg Plugins Popup with Xamarin Forms not working for shared project

Hello, I am very new to xamarin. wanted to show Page popup(not full screen) in my shared project(IOS and Android). after research i came across Rg.Plugins Popup. i added nuget package to my project, i...

View Article

Returning to Xamarin.Forms View from Platform-Specific PageRenderer

Hi all, I'm currently exploring using ARKit (iOS) and ARCore (Android) in a Xamarin.Forms project. Since Augmented Reality is platform-dependent and doesn't appear to be exposed in the Forms API yet...

View Article


How can i load two or more image in the grid

I have this layout <ContentPage.Content> <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> <RowDefinition Height="*" />...

View Article

Changing Page in CarouselPage programmatically

HI everyone, I was wondering how you can change the pages in a CarouselPage from code. I tried the CurrentPage method but I think it completely swaps the page rather than just changing the page. Any...

View Article


Method repeatedly called -- messages to blame?

The client did not want to use an MVVM frameworks so much of my navigation from ViewModel classes is by way of messaging (as is my display of alert boxes) Mostly this works great, however, I do have a...

View Article

ListView NullReferenceException when reseting / updating ItemSource

In my ViewModel I have a property called 'Objects' which is an ObservableCollection. When I setup the ListView it is as such: ObjectList = new ListView() { IsPullToRefreshEnabled = true, HasUnevenRows...

View Article

Solve the msg Xamarin.Forms.Xaml.XamlParseException:

please help me When executed, the error message appears Xamarin.Forms.Xaml.XamlParseException: vs2017 --- xamarin.forms xamarin.android Thank

View Article
Browsing all 89864 articles
Browse latest View live


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