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

Add event binding to SwitchCell on a ListView

So, I'm using the ListView with a SwitchCell, and I need to capture this event: Xamarin.Forms.SwitchCell.OnChanged Event Which basically tells me when the value of the switch has changed in the...

View Article


Error using Xamarin.Mobile for geolocation in iOS, Geolocator constructor...

Hi, I'm stuck with an error when using Xamarin.Geolocation (component : Xamarin.Mobile) for the iOS project. I used the code sample provided with the component here . It worked perfectly for Android....

View Article


Has anyone made a Picker with bindable items?

Has anyone extended the Picker control to expose a Bindable property ItemSource that when set, goes and adds the items to the Items property? Is it that simple or am I being naive? Has anyone managed...

View Article

Image may be NSFW.
Clik here to view.

Android app crashes after upgrading to Xamarin.Forms 1.3.1

After upgrading the project to XF 1.3.1 the app android app crashes on start up (the iOS app does as well, but I will make a new thread for that). So it took me a long time to actually get the app to...

View Article

Xamarin Forms Maps crashing without any warning

Hello, I developed a multi-page xamarin forms application (PCL), and I'm debugging it on a Nexus 5. After some nested pages in a menu I must load a page with a map. For a first try I tried the code in...

View Article


Image may be NSFW.
Clik here to view.

How to make .Forms stable…?

Unfortunately, I don’t think (but hope) that this posting will change things, but I have to write it (the hope dies last). Today (2015-05-19), I personally have 25 filled bugs in Bugzilla 11 of the 25...

View Article

Unable to add nuget packages in Xamarin.Forms project

I keep getting this error when I try to install a package in Xamarin.Forms project. Install-Package : The type initializer for 'NuGet.EnvironmentUtility' threw an exception. I had a similar issue...

View Article

How to intercept Navigation Bar Back Button Clicked in Xamarin Forms?

I have a xamarin forms page where the user can update some data in a form. I need to intercept the Navigation Bar Back Button Clicked to warn the user if some data have not been saved.How to do it? I'm...

View Article


Detect visibility of item on ListView

I'm trying to detect when a ViewCell in a ListView is fully visible on screen, so I can do an action. Imagine something like what Vine or Facebook does that when you scroll up and down, the videos are...

View Article


Can I do effects/animations in Xamarin.Forms XAML?

Title says it all.. googling, I found nothing. Is this possible or planned? Thanks

View Article

Scrollable text within ViewCell

I have a multiline text field which sometimes needs to be editable and sometimes not. The whole thing is placed inside a TableView. I started with a simple ViewCell with an Editor in it. On iOS this...

View Article

Arranging StackLayouts under each other forming a grid 3x2

I'm still new to Xamarin and I want some help. In my project, there is an image as a logo of the company which is the first thing the user sees and it is centered. Below it directly I want to add 6...

View Article

XAML - setting a constructor parameter

Hey everyone, I have a custom label CustomLabel. It may not have a default constructor, a parameter has to be specified (CustomLabel(string parameter)). How would one add a constructor parameter when...

View Article


XAML Namespace http://schemas.microsoft.com/winfx/2009/xaml is not resolved.

HI Now i am Creating a New Windows Phone App using Xamarin in VS2013. If I add the Shared Code and I am getting Error like this. "XAML Namespace http://schemas.microsoft.com/winfx/2009/xaml is not...

View Article

Problem with @(Content) in Visual Studio with Xamarin

Hi! I have a problem.I created a solution (mobile apps) and when execute, I get the following warning : Warning XA0101: @(Content) build action is not supported (XA0101). and then the android emulator...

View Article


RemoteControlReceived

How can I implement the iOS public override void RemoteControlReceived(UIEvent theEvent) in Forms? I'm building a PCL App which contains an audio player and must be able to receive events from the...

View Article

How to draw a separator

I am struggling to figure out how to draw a line to separate controls from one another. In WPF, I use a rectangle and set its height or width to "1" and set its fill property to LightGray. I would then...

View Article


Best practice MVVM navigation using Master Detail page?

Hi to all. I want to follow the MVVM pattern as much as possible, but I don't know if I am doing the navigation quite well. Note that I am using a MasterDetail page and I want to maintain the Master...

View Article

2 way binding between slider and entry

Hey guys, so I'm attempting to do something I would assume is fairly simple. Basically I have a Slider and an Entry next to each other. When you slide the slider, I want the Entry field to update with...

View Article

An unhandled exception occured

Hello, After update Xamarin.Forms to 1.4.4.6392 when I use an ActivityIndicator my application fall with "An unhandled exception occured". The code is simple: ActivityIndicator activityIndicator = new...

View Article
Browsing all 79144 articles
Browse latest View live


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