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

DependencyService.Get returns null, how to debug ?

I am using ACR's BarcodeScanner and SignaturePad component and DependencyService.Get to both of them returns null on WP8. It doesn't happen to author and I did also hack in MainPage as he have in...

View Article


Android Phone Restarting when Uninstalling Xamarin.Forms App

Whenever I uninstall a Xamarin.Forms app my android phone restarts. This is happens if the app is uninstalled while deploying a new version (i.e., hitting F5 in Visual Studio) or when uninstalled...

View Article


Center elements inside Relative Layout?

Hi, I created a relative layout due to the fact that I needed to put an image background. I don't understand the relative layout very well. Question 1: How to center horizontally and vertically in a...

View Article

Always set InputTransparent before _mainViewGrid.Opacity

There is definitely a bug in the order you set these. CORRECT way to avoid bug: _mainViewGrid.InputTransparent = section != ComposeSection.None; _mainViewGrid.Opacity = section == ComposeSection.None ?...

View Article

Looking to implement Tweet button with Xamarin.Forms

I have rewrote my random tips app from the ground up using Xamarin.Forms as someone recommended I do. I want users to be able to hit the Share button and bring up the built in Twitter compose box on...

View Article


Setting FontSize in style

I'm in the process of porting over my app fonts and styling to use Styles in XF 1.3 but I'm running into issues with setting the FontSize specifically. It seems like no matter what I do or how I try to...

View Article

Any good sample Xamarin Forms app in the App store if the iPhone

We are looking at using Xamarin Forms, and convincing our bosses. Are there some good apps we can point to that are published in the app store?

View Article

Creating a simple Form

Hello I'm trying to create a simple Form with Xamarin for Android and it drives me crazy. I've attached the example It takes less than 5 minutes to do the design in Visual Studio for WinForm, I...

View Article


RelativeLayout xaml ConstraintExpression property

My biggest problem with doing xaml ConstraintExpressions is that I can't get the right edge of objects. Is there a property / way to do that? Something like "right" or "X+Width" or "Bounds.Right"...

View Article


ViewFactory.CreatePage Type Arguments Method Could Not be Inferred form the...

Hi guys, I'm following the TodoMVVM sample on GitHub to build a properly structured MVVM Xamarin.Forms app. Right now I'm just testing it out on iOS. I'm using Xamarin.Forms.Labs 1.2.1-pre2 and...

View Article

My code is very slow HELP

This is my code, and I test on S3 Neo , Can you help me, how speed up my app. Very slow If I click on button and open new page, draw button. My code: ` btn_subcategory.Clicked += (object senderr,...

View Article

How Consume WebService (SOAP) on Android App

Hi, I'm using Xamarin.Forms targeting Android, I want to consume web services (SOAP). I have built in VS 2012 + plugin Xamarin. I need a tutorial guide or personal help for this. The SOAP WebService...

View Article

Animating "panel" sliding left or right and proper dimensioning the rest

Hi. I've an issue I can't find a proper solution. I've a Content Page and I'd like to divide it in left, center, right with "panels" where "panel" could be any of the common layout controls (let's say...

View Article


How to properly pass the value of a label when a button is clicked in XAML?

I have a Label in a XAML code like this: <Label x:Name="lblPhoneNo" Text="{Binding ConsumerPersonData.TelephoneNumber}" Style="{StaticResource dataLabel}" Grid.Row="3" > Grid.Column="1" /> I...

View Article

Are bugs reported with Linux platform being mistakenly ignored?

I noticed that several bugs I reported received no response, and that those were exactly those reported with a Linux platform. They were reported with a Linux platform since that's the default when...

View Article


Handle Shake Gesture (Motion) in Xamarin.Forms

Hi, I need to handle shake motion in xamarin.forms app. To send event notification I will use MessagingCenter, but I need a way to hook up my forms appdelegate...

View Article

I can't add a reference to Xamarin.iOS in my Forms project

I'm trying to use the Alliance Carousel in a Xamarin Forms project. It requires binding to Xamarin.iOS, and I can't figure out how to do it. Please help me as I try to get better in this framework.

View Article


custom observablecollection don't work right with ListView

hi i've created custom collection which implements INotifyCollectionChanged here is sensible part public event NotifyCollectionChangedEventHandler CollectionChanged; public void Add(T item) { if...

View Article

Build problem in iOS device

Hello.. I am working in xamarin.forms. When I am trying to build the application in release mode I am getting an error as below. Hoping a reply. Thank you.

View Article

XF 1.3 CustomRenderer for ViewCell

Hi all, Is there a working sample on how to have ViewCellRenderer to work for Android. I have issue with performance in the 1.3 and have to use custom renderer to render the viewcell of the listview.

View Article
Browsing all 58056 articles
Browse latest View live


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