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

Image may be NSFW.
Clik here to view.

Amazon Fire Tv (Stick)

Hi All, I tried using Xamarin.Forms on the Amazon Fire Tv (Stick), unfortunately it didn't work. The problem is that it doesn't have an ActionBar, but the initialization tries to set it up, an simple...

View Article


Xamarin.Forms not found

Hi, I'm using the latest Xamarin studio on my macbook. I was working on a portable xamarin.forms project which gets data from a Rest API. However, at some random point Xamarin refuses to build the...

View Article


Xamarin.Forms Xaml to add icon image next to user name and password field

Does anyone know how to add an image next to a Text field used for data entry? I can't figure this out. I even tried to create an ImageCell. Here is my code. This code centers the icon image just above...

View Article

How are we to do global exception handling in Xamarin.Forms?

I've found the AdvancedLifecycleDemos for Android, and I'm thinking of converting it to some sort of cross platform implementation, but I'm wondering if someone has already done this? I haven't found...

View Article

Unable to target android 6.0 and api level 23

Guys, Need some urgent help here. I have installed api 23 sdk from sdk manager but yet i unable to see any android 6.0 options or api level 23 option in both target framework and target android version...

View Article


Is there a way to tell if a label will truncate text?

I have an iOS implementation I am trying to port to forms. In the iOS version I show full names but if the name will be longer than the field width I use first initial and last name, if it still doesnt...

View Article

New FormsAppCompatActivity is raising an exception in NavigationRenderer...

I'm upgrading my app to use FormsAppCompatActivity. Now in my custom renderer that's inheriting NavigationRenderer, I'm getting an exception when calling base.OnElementChanged: [MonoDroid] UNHANDLED...

View Article

Adjust Width of Master on MasterDetailPage

I am using the MasterDetailPage for the NavigationDrawer on Android. Implementing the functionality has gone perfectly, however the width is too large and i would like to adjust it. I have tried to set...

View Article


Sticky header bar effect like Instagram (listview)

Something like this using Xamarin.Forms? https://github.com/rzee7/PRAPinnedListview

View Article


InitializeComponent does not exist

Hi, I'm having difficulties on XAML files in a Sheared project. Using Xamarin Studio; What I did was simply adding a xaml page to the project and build without adding any code. And it gives me the "The...

View Article

How to get an original image size?

Hi! I have the very basic case, but can't find elegant solution: need to know original image size for layout. But after loading an image to Image view I get -1 value for its width and height. Here's a...

View Article

NullReferenceException with CustomRenderer in iPhone 4, iOS 7.1.2

The crash exception has: System.NullReferenceException: Object reference not set to an instance of an object at Xamarin.Forms.Platform.iOS.RendererFactory.GetRenderer (Xamarin.Forms.VisualElement view)...

View Article

New Video: FreshMvvm n=1 : Your first FreshMvvm Application

The next video in the series. http://www.michaelridland.com/xamarin/xamarinforms-mvvm-first-freshmvvm-application/ Please let me know what you think.

View Article


Anyone got Parse pushes working in a XF Android app when app has been closed?

I have Parse pushes working for all states (foreground/background/closed) on iOS, but on Android it only works when the app is in the foreground or background. If I receive a push after the user has...

View Article

How to check if app has Camera permission on iOS

I need to check if appliaction has camera permission before launching ZXing barcode scanner or Augumented Reality page. If I just launch them and user has disabled camera access in ios settings -...

View Article


How to create Usercontrol in xaml

Dear, i'm try to create a ContentPage wich contains a ContentView this "ContentView" will be another xaml file like an usercontrol. But this doesn't work! show me an exception The ex is throwed...

View Article

Need some guidance, how can I communicate my Xamarin.droid to my Xamarin.form

This is what I'm trying to do, I want to create a navigation drawer in my Xamarin.droid using the materials designs, in which you can click an item and then it will take you to a xaml page inside my...

View Article


Detect application restart after termination

Hi, I miss an event, or state, in the new App Lifecycle, for detect whether the app was terminated after sleep, so when started again I need to know whether to restore any states (navigation stack,...

View Article

How to catch A geolocation error occured: PositionUnavailable?

I'm getting crashes with the unhandled exception "A geolocation error occured: PositionUnavailable" But the only place that I think I am calling anything geolocation related is the following: try {...

View Article

SeparatorColor and SeparatorVisibility dont work on Android.

I need to delete the separator in a ListView. I ve tried with the SeparatorColor and SeparatorVisibility properties. I also tried with the custom renderer...

View Article
Browsing all 79144 articles
Browse latest View live


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