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

TemplateBindings in ControlTemplate doesn't work

I have tried to follow the following example but with no luck: https://developer.xamarin.com/guides/xamarin-forms/templates/control-templates/template-binding/ I have created a controltemplate that I...

View Article


this.Navigation.PushAsync(new Page()); NullReferenceException Error

I am creating a simple app to do some testing before I add the contents that I need and I am getting a NullReferenceException Error. Below is the code that I have so far. MainPageView <?xml...

View Article


Gesture not updating its status as completed

I have a PanGestureRecognizer in my custom view. For the PanUpdated event handler, I have a function that does some stuff when the gesture is running and then something else when the gesture is...

View Article

Errors on fresh build of new project application 2017 preview 2 update

Hi having not been near xamrian for a while was keen to try the live player but I am having allot of issues just getting the sample application to run. I am getting the following errors on run....

View Article

Xamarin.Forms.Internals.Preserve vs Android.Runtime.Preserve vs...

Hi, if I use "linker=all", and I want to keep my DependecyServices classes usable (both ios and android) which of the 3 Preserve attrib to use? It's a Xamarin.Forms/PCL app. Currently, I am using...

View Article


Appium tests (iOS). Children of a XCUIElementTypeTable do not show, also the...

I am automating my tests using appium. For this, I set the AutomationId of elements, and reference these in the tests. But now I have a structure like this: <ListView x:Name = "ResultList"...

View Article

Using couchbase lite to sync thedata with server

do anyone know how to use couchbase lite to push and pull the documents to and from the database using webapi which is connected to couchbase.

View Article

ListView detect itemsource changes

I've setup everything correctly using MVVM. My ListView gets updated correctly when new Items are added to the List because my ViewModel implements INotifyPropertyChanged Now I'd like to scroll to that...

View Article


How to go to SPECIFIC PAGE when user clicks on Push Notification

I have a Xamarin.Forms app (XF 1.3.4) that uses Azure Messaging to connect with GCM and APNS. The app works great - the app registers for push notifications, and push notifications are received...

View Article


Standard set of Assets/Resources for getting started

Does anyone know of a standard set of Assets / Resources that can be used while learning / prototyping with Xamarin?

View Article

Android resources, NullReferenceException thrown at launch

I'm trying to add a sound file to my Xamarin.Forms app. Following https://developer.xamarin.com/recipes/android/media/audio/play_audio/ I created the "raw" directory, placed my file in, and changed the...

View Article

Picker on SelectedItem / SelectedIndex not changing picker text

I'm trying to change a value of a Picker with the SelectedIndexChanged from another Picker ... serverPicker.SelectedIndexChanged += (sender, e) => { int index = getIndex(serverPicker.SelectedIndex);...

View Article

Xamarin.Forms binding with indexers crashes application

When using an object with two indexers, the binding can't resolve it and the application crashes. For instance, if the following binding is set <Label Text="{Binding [asdf]}" /> And the...

View Article


Blurred text on Xamarin.Label inside a ViewCell on iPad

Hi, I've implemented a custom cell class that extends ViewCell, it contains two Labels nested inside a StackLayout. On Android it looks fine but on iOS the text is noticeably blurred compared to a...

View Article

Xamarin.Forms + offline map navigation

Hi all! My current project requires map navigation while the device is disconnected from the internet. The route which will be followed is known, so after login the route with the map has to be...

View Article


Xamarin Forms w/ .NET 2.0 Standard - Play Background Audio?

Is there a way to play Audio (and background playing) Files in Xamarin Forms with code in the .NET 2.0 standard project? Without coding each iOS or Android platform specific? Thank you.

View Article

How can I change the hamburger icon for another one in Xamarin.Forms for...

How can I change the hamburger icon for another one in Xamarin.Forms for Android? I tried a lot of methods to change the three bars (hamburger icon) for another icon with Xamarin.Forms, but it seems to...

View Article


RelativeLayout in XAML - RelativeToView (parent,sibling) =>...

Hi guys, Im trying to set a Constraint in XAML to bottom of another view, in XAML. Normally in C# I would write: RelativeLayout in XAML - RelativeToView (parent,sibling) => sibling.Bounds.Bottom How...

View Article

How to use Natvie sdk in xamarin.forms?

I'm developing mobile application using Xamarin.Forms for android and iOS. I have payment gateway(Braintree) SDK in native android(Java) and iOS(Objective c / Swift). For android, I have tried creating...

View Article

Sockets not sending data on UWP on last Xamarin with .NET Standard 2.0

I am teaching Xamarin from several years ago, and I do a sample application that sends and receive data using sockets to a custom server. Until now, my code always has worked correctly under all...

View Article
Browsing all 77050 articles
Browse latest View live


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