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

Very High Memory Usage with Simple App

As I began UI Testing my Xamarin.Forms application I noticed Peak memory usage of > 220MB. This seems high to me. So I created a blank Xamarin.Forms app from the template. i.e. the app that says...

View Article


Xamarin.Froms.Maps when are you release a finshed version ?

Hi all, I'm kinda new in the world of Xamarin, i've bought this for my company after reading article about Xamarin.forms et Xamarin.forms.maps. Yesterday i was coding something very simple with a map...

View Article


A good way to align controls in StackLayout

Hi, what is the best way for alignment controls in stack layout ? For example I want 3 labels in one horizontal stacklayout, label on the left, center and right. What kind of alignment should be used?...

View Article

Button BorderColor not showing on Android 4.4

The title says it all. My code can be seen below. Button mybtt = new Button { BorderColor = Color.Black, BackgroundColor = Color.Transparent, IsEnabled = true, BorderWidth = 1, BorderRadius = 0, }; Can...

View Article

Null data message with binding

I am binding a label to a nullable DateTime property. I want to display "-" if the property is null. Does anyone have a suggestion for supplying a Null Text option? Here is the property and XAML I am...

View Article


Problem: Add layout to content of a scrollView

Hi! Basically I'm trying to dinamically add layouts to the content of a scrollView. I did an example code but it only works at the second click, for some reason it doesn't render the first layout...

View Article

How to handle navigation in a MasterDetailPage using Context Actions of a...

Hello there, I will try to give an accurate explanation for the issue I'm facing. Context : I'm using a MasterDetailPage for my main navigation. In a Detail page (used as a NavigationPage), I display a...

View Article

How to display switch in lollipop of android using xamarin.forms?

Hai, I am new xamarin.forms. I was write the code xaml page like <switch x:Name="Switch1" HorizontalOptions="Center AndExapand" VerticalOptions="CenterAndExpand"/> In Android -Switch Render is...

View Article


Xamarin.Forms:Focus() for Windows platform

Focus() method of picker is not working for Windows platform. Have anybody know the reason and solution?

View Article


ViewTreeObserver.PreDraw

I have a custom renderer that I'm using for Android, and I'm linking to the Control.ViewTreeObserver's .PreDraw event. That seems to work great, however when it comes to cleaning up that event...

View Article

How to implement Expandable/Collapsible ListView in xamarin forms?

Can anyone help me to implement Expandable/Collapsible ListView in xamarin forms. I have attached a screenshot as an example.

View Article

Xamarin.Mobile can't install

When I try to get Xamarin.Mobile in my Xamarin.Forms project via NuGet I get the following error and not sure what the deal is. Could not install package 'xamstore-xamarin.mobile 0.7.1'. You are trying...

View Article

Getting Null Pointer Exception in Xamarin.Forms(Android). Please Suggest..

Java.Lang.NullPointerException: at at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () at at System.Runtime.CompilerServices.AsyncMethodBuilderCore.m__0 (object) at...

View Article


Why DataTrigger locks and do not off when binded value returns back?

I want to use Trigger for switch TextColor depending on BindableProperty of my class. On click the button TextColor becomes Red. But on next click TextColor stay Red although BindableProperty switched...

View Article

Gesture Recognizers for Label in iOS doesn't work

Hello. I'm just builded my app, that works fine with Android for iOS and had some kind of error. Taps on labels doesn't work. Just like Button.Clicked. At the same time tap on image works fine. And...

View Article


What is the preferable way to consume asynchronously JSON API web service?

Hi, I want to use JSON API for foreign exchange rates and currency conversion - http://fixer.io/ I've tried to use System.Net.Http HttpClient, but couldn't add it to my project because NuGet version...

View Article

Image may be NSFW.
Clik here to view.

A problem with Xamarin.Forms plug-in and Code Compilation with .NET Framwork 4.5

Hello, I just started with Xamarin studio. I would use Xamarin.forms to create an Android app (on windows) and iOS mac; beacause I don't have Visual Studio. I installed all the files without problème...

View Article


Remove row from a Grid

Hello, Do you know if it is possible to remove a row from a grid? I've tried myGrid.Children.Remove(myView) but nothing happened. Thanks !

View Article

Listview - Separator do not display while they do when I pull the list

Hi, Create a new Xamarin Forms project. Add a listview as the sole element of your MainPage content. Try in iOS simulator: no separators (while I made them green...). Pull the list and you'll see the...

View Article

FontFamily - is there a list of families that work across platforms?

With the font changes in Xamarin.Forms 1.3, I am re-factoring to get rid of warnings that now appear. Whilst doing this, I was looking at specifying the FontFamily for visual elements, but have failed...

View Article
Browsing all 91519 articles
Browse latest View live


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