Quantcast
Browsing all 76418 articles
Browse latest View live

System.NullReferenceException at...

Immediate crash after application begins "WorkingWithMaps" and "MobileCRM" from https://github.com/xamarin/xamarin-forms-samples (both use Maps) Host system is Windows 8.1 Tried in Nexus 10 KitKat,...

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

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

Retaining page Navigation stack when app is killed

Is there a simple way to retain the current navigation stack of pages in Application.OnSleep to be reinstated in Application.OnResume? I tried the following: protected override void OnSleep () {...

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

IOS startup speed problems

Hello I have written an app in xamarin forms. the main page of the app consists of a tabbed page with 3 sub pages in it. when the app starts i want to display a modal to the user first before they get...

View Article

Android Video Player using Xamarin.Forms

I am trying to get a video player working in my Xamarin.Forms app on Android. I have implemented the iOS version using a ScrollViewRenderer where I add the MPMoviePlayerController (code at bottom, file...

View Article

"Aapt" task could not be instantiated

Hi I'm new in this forum, I'm creating application using Xamarin.Forms after building my solution it showing me some messages regarding AndroidManifest.xml & error like "Aapt" task could not be...

View Article


why switch is not displayed in off mode, while the background is in white color?

set Build > General > Target Framework to "Android 5.0.0 (Lollipop)"? please help me, I want to display switch in Lollipop version of android. it not displayed properly . I tried on render like...

View Article

Bluetooth, Monkey.Robotics -- Forms?

Hi, I'm doing some R&D work on connecting to Bluetooth LE devices. I'm also trying out the Xamarin platform at the same time. I'm a little confused on the direction of Xamarin forms as well as the...

View Article


Binding values in custom ViewCell

Hi All, I have to identify which Switch control was toggled to get the Id of the corresponding row. So far I have this kind of implementation which is working as I want, but it is not elegant in my...

View Article

Porting Java code to C# (android-auto-scroll-view-pager github)

Repo: https://github.com/Trinea/android-auto-scroll-view-pager I have been trying to port it into c# but no successful using System; using Java.Lang.Ref; using Java.Lang.Reflect; using Android.Content;...

View Article


XAML / Self binding, bindingcontext

Hello, I want to bind the text property of a editor element to BindableProperty. Here is what I tried: MyForm.xaml <?xml version="1.0" encoding="UTF-8"?> <ContentPage x:Class="Com.Acme.MyForm"...

View Article

Image may be NSFW.
Clik here to view.

MasterDetailPage on WP8.1, disabling appbar and menu placement

I'm using MasterDetailPage, but I need to change two things. First I wanna see the app bar with menu button only on HomePage, right know every subpage has the app bar, which I don't wanna see. On...

View Article

ListView with bound source doesnt work in more complex xaml

Hi, I encourage weird problem today. I have simple listview with 2 properties bound. It works like a charm when my Xaml looks like this: <StackLayout> <ListView x:Name="mylist"...

View Article
Browsing all 76418 articles
Browse latest View live


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