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

Android crashes with ActivityIndicator while starting

Hi, on our project (and a blank test project for reproduction) the ActivityIndicator let Android Apps crash when they use minimum API Level 16 (4.1 Jelly Beans). It's enough to put a ActivityIndicator...

View Article


The binding context is null until the event?

Hello! Simple situation - I have a ContentPage with some data. So then I want just to write this data to the object. But I stuck with simple problem - program is giving me a null instead of the Binding...

View Article


Android sometimes makes a black screen.

Hello. I been working on a app that use xamarin forms. So far i been able to test on WinPhone and android. On winphone everything works nicely. but i having some funky problem with my android version....

View Article

Master-detail page in Android: Master-Icon is shifted to right, after a...

Hi all I have a strange problem. I use master-detail-page for navigation (Popover) and have assigned a master-icon: Master.Title = "Menu"; Master.Icon = "Home.png"; this.MasterBehavior =...

View Article

Binding to a static property in code, not in xaml

Hi, the following doesn't work: myLbl.SetBinding<ViewModel>(Label.TextProperty, x => ViewModel.StaticVariable); What's the equivalent in code of the xaml x:Static markup extension? Tks. François

View Article


Image may be NSFW.
Clik here to view.

New Blog: FreshMvvm n=2 – IOC and Constructor Injection...

New Blog: FreshMvvm n=2 – IOC and Constructor Injection Feedback always loved!

View Article

System.IO.Compression It does not work - Microsoft.Bcl.Compression

I've a xamarin form project, when i use this code ... var re =await client.Execute(request); var gs = new GZipStream(new MemoryStream(re.RawBytes), System.IO.Compression.CompressionMode.Decompress); .....

View Article

ListView Label TextColor

Hey, I've got some problems when using a ListView and a custom DataTemplate. In this DataTemplate I put a Grid and some Labels. And there is my problem: I want to change the textcolor of some Labels,...

View Article


windows application

hello, it's possible share code between iOS, Android, windows phone AND WINDOWS APPLICATION ( desktop, like windows 7 or 8 or 8.1 or 10 ) ? What's difference between windows store and windows...

View Article


Navigating from Android activity back to forms

I have forms project where I use a custom ContentPage and a PageRenderer based on this code: forums.xamarin.com/discussion/18014/mixing-forms-content-and-native-activity I can navigate to my android...

View Article

Image may be NSFW.
Clik here to view.

Your experiences with update to Win10 + VS2015…?

Hi all I work with Win 8.1 and VS2013 Update 2 and XF 1.4.4 “stable” and XLabs right now. On the base of various reasons, I have to update to Windows 10 and VS2015 in the near time. As we develop also...

View Article

Object Reference error updating Xamarin.Forms to 1.5.1.6471

Hi All, I'm using NuGet to update my Xamarin.Forms application to 1.5.1.6471 (I'm on a 1.4 version) and am experiencing an object reference not set to instance of an object error when doing so. Has...

View Article

Creating simple control with custom renderer

Hi. I'm starting a project with Xamarin.Forms an cannot create the most basic custom rendered control with child controls, I always get a "SetElement did not create the correct number of children"....

View Article


How to draw "multi gradient " for Android in custom renderer?

For iOS we use CAGradientLayer.Locations as the gradients stops. For WinRT we use GradientStops. What about Android?

View Article

out of memory

Hi friends. I have a page with a "grouped" listview. Every row in this listvierw has an "Image". This page is inside a NavigationStack. I have this exception (only one time by now). Catched by...

View Article


Device.OnPlatform in Unit Tests

Hey I want to run unit tests on code that contains Device.OnPlatform(ios,android,winphone);. Is there a possibility to say that the current test case should emulate a special OS like iOS or Android. Is...

View Article

How to write a unittest with Device.OnPlatform()

Hello I want to test a method on the pcl-part. The IOS-Part do other stuff than the android one. For example the ios-part make a ModalPush and the android-part a normal one How do you test such parts?

View Article


Label LineBreakMode WordWrap behaves as CharacterWrap when using Bindings

I have a Label in which the Text or FormattedText property is populated with a binding towards a property on my ViewModel. The LineBreakMode has been set to WordWrap, but it behaves as a CharacterWrap....

View Article

MR.Gestures handles ALL touch gestures

With MR.Gestures you can handle the Tapping, Tapped, DoupleTapped, LongPressing, LongPressed, Panning, Panned, Swiped, Pinching, Pinched, Rotating and Rotated gestures on all layouts, cells, views and...

View Article

How can I use FontAwesome icons in the NavigationPage?

I am still quite new to Xamarin Forms and I was wondering if it is possible to use FontAwesome icons in the NavigationPage. I have found a way in iOS to use FontAwesome icons in the toolbar items using...

View Article
Browsing all 89864 articles
Browse latest View live


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