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

Image may be NSFW.
Clik here to view.

Performance Issues when using ViewCell in ListView

The title says it all. My application uses a listview with a custom layout which inherits ViewCell and the performance is terrible on android. If I use ImageCell or TextCell the performance is good...

View Article


ContentView Command binding

Ive run into a problem trying to access command that exist in the code behind, basically this command doesn't fire. OK you might say for button use the Clicked Event, errr!, but there are instances...

View Article


Handle SSL certificate warning in a Xamarin.Forms.WebView control

Is there a way a can handle the server certificate warning message when a user view a website through the Xamarin.Forms.WebView control? I am testing my application against a development site were my...

View Article

Nested ListView itemtapped problem on android and some other observations on...

Hi - I know you shouldn't use nested listviews, but had this working nicely - the only problem is that on android, if you tap an item in a nested listview, the ontapped event handler fires once... if...

View Article

Displaying different class instances in a ListView

Let's say I have a super class called Vehicle. Furthermore I've have three subclasses called Motorcycle, Car, Boat. In my app I want the user to be able to list all of his/her vehicles, that is I want...

View Article


How to make a ListView GroupHeaderTemplate wrap it's content in iOS?

I've got the following GroupHeaderTemplate. Unfortunately, the inner StackLayout isn't behaving as I'd hope... what might I be doing wrong? FYI: It appears to work proper in Android. <ListView...

View Article

label inside scrollview display outside in android

I put label in the Content so that inside th scrollview; string lrc = "...";//the string display in label mutililine so that it should contained in a scrollview var stackLayout = new ScrollView() {...

View Article

Image may be NSFW.
Clik here to view.

How can I create a custom renderer for a decorated "container" view with...

I'm basically trying to create a custom "container" view, which will render differently on each platform, but its content will render the standard way. Specifically this would be like a menu item which...

View Article


Bug: DisplayAlert in iOS can throw exception

When running this statement in Android it works fine and display alert only shows one button: this.DisplayAlert("Facebook", "Facebook button", "OK", string.Empty); When running the same line in iOS I...

View Article


Hide top/master switch in the Xamarin Switch Cell control?

Is there a way to hide the top/master switch that appears when you use the Xamarin.Forms.SwitchCell control in Android? It is very annoying to have this extra switch when it does not appear in either...

View Article

System.Reflection.AmbiguousMatchException exceptions during the creation of...

We see a lot of System.Reflection.AmbiguousMatchException exceptions during the creation of all our ContentPages. They seem to be handled by Xamarin code but slow down the page creation. Does anybody...

View Article

Image may be NSFW.
Clik here to view.

Lack of GridView in Android force me to make our new app using Android C#...

Hi Folks, I've been using XF for our iOS project for a month. So far I can build Most Custom UIViews with CustomRenderer. But the new project will be aimed for Android Device only, and the major...

View Article

Failed verification publishing my first forms app to the Apple AppStore

Built my release, signed it submitted it. All great (after a bit of messing with keys!) However its failed verification by Apple. It seems if you use a Bluetooth keyboard and press the tab key on a...

View Article


SearchBar:Missing method Android.Widget.SearchView error

Update: I sorted out the problem: i set the target framework to 4.4; before it was 4.0.3. Thanks Alessandro Hi on my phone (v4.0.3 -Ice Cream Sandwich) I start having this error once i upgraded to...

View Article

Helpful Repositories

I have been working with Xamarin Forms for a couple months and in the process I have found a few repositories very helpful. Here is the list of repos : https://github.com/xamarin/xamarin-forms-samples...

View Article


XF and Cocos3D (3D Scene loading)

HI CocosSharp is a C# implementation of the Cocos2D and Cocos3D APIs that runs on any platform where MonoGame runs (https://github.com/mono/CocosSharp ). Cocos3D can probably load a model/scene created...

View Article

WinPhone with Master/Detail...How do I disable opening the Master?

This works fine on iOS and Android, by the way. Anyhoo, my app has a Master Detail setup. Some of the Detail pages have the ability to add items to them, which brings up another page. You enter your...

View Article


Select from a Gallery image in Xamarin.Forms

Hello, i'm starting a new project to manage user's contacts on Xamarin.Forms. I know that DependencyService is useful to access native features on each platform, and i can use ImagePiker in iOS or an...

View Article

NullReferenceException on MasterDetailPage

Hi Guys. I'm currently getting this error when loading MasterDetailPage. I'm updated to the latest version of Xamarin.Forms 1.2.2.6243 System.TypeLoadException: A type load exception has occurred. at...

View Article

How does MessagingCenter work between classes?

Hi everyone, I'm stuck at getting MessagingCenter working between classes. I only can get it to work in the same class. Can anyone point out an example how this works? I looked already at the...

View Article
Browsing all 58056 articles
Browse latest View live


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