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

ListView - Empty Message

Hi! I created a ListView with a empty message, but my code not working very well (EmptyMessage not appear). XAML: <ListView x:Name="list" ItemsSource="{Binding Memberships}">...

View Article


MissingMethodException:...

I have followed everything from the following link: https://developer.xamarin.com/guides/xamarin-forms/user-interface/navigation/master-detail-page/ The code I wrote can be found here:...

View Article


Xamarin forms Splash Screens and images

How do I do a splash screen for iOS and Windows Phone? What are the correct sizes of images for iOS and Windows Phone?

View Article

How to acces the current view UIViewController from an external service

I'm creating a Service in Xamarin.Forms that needs to open a new UI. For Android I'm using: private Context _activity; _activity.StartActivity(_authenticator.GetUI(_activity)); For iOS I need to access...

View Article

How to use tabbed page to switch among child pages

I have a Forms application with three pages. I'd like to use a tabbed page to switch among the three so that you can access them in any order. The samples seem to show swapping different data into the...

View Article


Xamarin.Forms bug? System.ObjectDisposedException: Cannot access a disposed...

Hi, My Android Xamarin.Forms application uses a Navigation stack to display various views, I often have a list on a screen (A) that once a cell is clicked I push onto the stack a new screen (B), the...

View Article

Dependency Injection in Xamarin Forms using SimpleInjector

Does anyone have examples for dependency injection in Xamarin Forms using SimpleInjector. I've scoured the web and can't find anything. The reason I'm using SimpleInjector is because I have a generic...

View Article

Xamarin Forms Validation. Aggregate the result from multiple control behaviors

Hi, I have a page which has 3-4 entry controls. I've created a behavior to validate these entries. I've also extended the entry class to have borders, border colour and border radius. So the Xaml is...

View Article


How to use the PortableRest package with iOS devices

So i have an application were i consume my web services using the PortableRest and Microsoft.Net.Http packages, everything is working as espected on android and the ios simulator but when trying an...

View Article


Xamarin FORMS iOS performance with webkit view

I have build an app with a QR scanner a webview and some others things in it, but the performance on iOS is much worser then on android. De webview is responding slow, QR reader is slow, it's like...

View Article

How I can disable highlight item in ListView?

I could not disable highlight item. I tried to use this code (I took it from forum): listView.ItemTapped += (object sender, ItemTappedEventArgs e) => { if (e.Item == null) return;...

View Article

How to use both GestureRecognizers and Effects in Xamarin Forms at the same...

I am creating a custom control. I want to change the Background Color When Touched using Custom Effects in the Native Code and also handle the TapGesture Event in the Event Handler in the backend code....

View Article

How to use Couchbase Lite in Xamarin.Forms PCL project?

I go through developer.couchbase.com/mobile/get-started/get-started-mobile/net-mobile/before-you-begin/index.html couchbase documentation. But i am not getting how to use couchbase in Xamarin.Forms PCL...

View Article


Xamarin.Forms Architecture

Hi guys... I have a question, I'm developing an App with Xamarin Forms with the architecture below, like the opnion of you about this structure? Another thing, where I fit access to the backend, create...

View Article

iOS: Javascript not executing in webview

Hi everyone, I've implemented a hybrid web view following this article's instructions https://developer.xamarin.com/guides/xamarin-forms/custom-renderer/hybridwebview/ I've added different html as well...

View Article


Forms.Init() 'Are you missing an assembly reference'

I can't create a PCL Forms project and get it to run. Even though I do have a reference to Xamarin.Forms I keep getting the above error. Very annoying indeed.

View Article

Is there a way to override a Back button press on Android?

I'm having issues with a ContentPage in my app. It consists of a WebView that fills the screen. There are links that users can click to be taken to different pages within the webview (these are all...

View Article


cannot convert from 'Android.Widget.TextView' to 'Xamarin.Forms.View'

Hi everybody, I have a problem with "embedding native controls". I followed this example https://developer.xamarin.com/samples/xamarin-forms/UserInterface/NativeEmbedding/ to embed a native android...

View Article

Xamarin iOS 10 bug in listview context menu item

Hi, this sample code was working in iOS 9.. When I run it in iOS 10 it throws an error: the scenario is you swipe to pull the menu item and when you tap out of that item (you wanna cancel) it supposed...

View Article

how can I use one binding for two column list view?

I already know how to create two column listView but the problem is I can only bind my data source to the whole of the listview and item source, and I can bind them to one column . ( once I bind it to...

View Article
Browsing all 81910 articles
Browse latest View live


Latest Images

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