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

Add ios project to the solution

I have a solution in XS with only an android project, now that I am using a mac I would like to add an iOS project to the existing solution. How can I do this?

View Article


How do you change the font for a TextCell in a ListView for WindowsPhone?

I can't seem to figure this out. I have tried a custom Style in my App.xaml resources, but it doesn't seem to apply. When I try and do a custom render, the TextCellRenderer doesn't have an...

View Article


Selection highlighting in Listview - iOS/Android ok, WP missing?

In standard .Forms Listview, when an item is tapped or held the background of the item is highlighted in iOS and Android but on Windows Phone it isn't .. is this a bug? It'd be good to have it...

View Article

Listview Bug in TabbedPage

Hey, I found a Bug with TabbedPage on Android. I use a listview in Tab1 and a Label / Button in Tab2. At first, everything works fine. But if i click on Tab2 and going back to Tab1, the listview...

View Article

Geocoder does not work from background thread in Windows Phone.

If I run: var coder = new Geocoder(); var partnerPosition = (await coder.GetPositionsForAddressAsync(partner.Address)).FirstOrDefault(); I get a cross-thread execution exception. If I try to wrap the...

View Article


UIWebView issue

Hi everyone, I have a problem with Xamarin.Forms.View and UIWebView I created Xamarin.Forms.Shared project and I wrote this code: `var stack = new StackLayout { Orientation = StackOrientation.Vertical,...

View Article

How can we change the root page i.e. Navigation.PushRoot

I would like to be able to do Navigation.PushRoot(newPage) to reset the root view controller. Is this possible?

View Article

Incompatible API level

I just begin to learn xamarin forms and with my first project I have me message: Target device has an API level of 10, but this application has a minimum API level of 15. I want to know if it is...

View Article


ListView linewrap

how to set the automatic transfer(to next line) of long lines, sometimes item does not fit into the screen?

View Article


How to use ActionSheet while using a MasterDetailPage?

I have a MasterDetailPage, my details page being a list view that uses a custom view cell. When I select an item in the detail list view, I attempt to display an ActionSheet. I have tried using all...

View Article

MultiThreading In Xamarin Forms

Hey, When writing code in Xamarin.Forms PCL. How do call InvokeOnMainThread method? I think this is essential if u want to do any thread writes back to UI work. Thanks, Faisal

View Article

Navigating to page containing ToolbarItems via PushModalAsync & PushAsync

I am trying to understand difference between PushModalAsync & PushAsync Navigation. In my code I am using this interchangeably in many places without any care. But then, now I am facing some issue...

View Article

ButtonRenderer has no OnElementChanged override

In My Xamrin.Forms ,ButtonRenderer has no OnElementChanged and ElementChangedEventArgs.How fix it?waiting for question.thanks

View Article


Cross Platform development using Xamarin.forms

From Visual studio 2012 i had selected Mobile Apps and then Blank App(Xamarin.form.Portable) m getting this error which i attached below ... plz help me out .i have tried intalling...

View Article

using DialogFragment

Is it possible to use a DialogFragment in Form? If yes, can someone help me get started with the Dependency.

View Article


UriImageSource sometimes doesn't load image

Hi, I have page with 6 Image and every image is located on web. I get the list of URLs from API and I setting them to Images with UriImageSource, but sometimes random images doesnt load - no error, no...

View Article

How can I modify the contents of a cell upon an event

I would like to modify the contents of a cell, triggered by an event tied to a cell. I have a cell, CustomViewCell based on ViewCell. I have tried to override the OnLongPress method but does not seem...

View Article


PageRenderer.OnModelSet not found

I get the following error: PageRenderer.OnModelSet (Xamarin.Forms.VisualElement) is marked as a override but no suitable method found to override Version of Xamarin.Forms: 1.1.1.6206 Thanks

View Article

Exception Handling

Hello, what is the best practice to handle unhandled exceptions in Xamarin Forms ?

View Article

Overlapping Images and Objects in Forms

Hello, I'm working on converting an iOS project (MT.D) to Forms. The designs has a few places where items stacks; a background image, with a bar on top of it, and a third image with text next to it on...

View Article
Browsing all 58056 articles
Browse latest View live


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