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 ArticleMissingMethodException:...
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 ArticleXamarin 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 ArticleHow 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 ArticleHow 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 ArticleXamarin.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 ArticleDependency 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 ArticleXamarin 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 ArticleHow 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 ArticleXamarin 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 ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleXamarin.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 ArticleiOS: 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 ArticleForms.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 ArticleIs 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 Articlecannot 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 ArticleXamarin 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 Articlehow 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