How to set row height of a list view cell based on the screen width
I have an app where i'm trying to display images in a list view. It's one image per row but i want the image to goacross the whole width of the screen so I need it to get larger / smaller depending on...
View ArticleCustom renderer for Picker
Hi, I'm really new to Xamarin and Xamarin Forms as well, so maybe it's a stupid question: I'm trying to implement my own renderer for Xamarin.Forms.Picker, I'm starting from Custom renderers example. I...
View ArticleBindableProperty of ImageSource type raises PropertyChanged twice in custom...
In custom views, when using ImageSource bindable properties, the PropertyChanged is raised twice! It can lead to major performance issues in custom controls using images. Output: !!! HomeViewModel...
View ArticleDefine the "click area" of ActionBar in MasterDetailPage
I've implemented MasterDetailPage in a project and ran into an issue quickly. As shown in the screenshot below, the master page hides and shows itself when I touched within the red border area, instead...
View ArticleHow to get Azure Mobile Services SQLiteStore working on Windows Phone using...
My app is happily using both "Azure Mobile Services SQLiteStore" and "Windows Azure Mobile Services" in the Android and iOS builds. However, I have wasted rather a lot of hours trying to get the same...
View ArticleMy BindableProperty on custom control is called twice every time in my...
Hi folks, I have a BindableProperty in a custom control like so: public static readonly BindableProperty ShowIndeterminateProperty = BindableProperty.Create<CoreProgress, bool>( p =>...
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 ArticleWill it be possible to have UWP core libraries mixed with native...
I am just getting started with Xamarin (started my evaluation today). I'm trying to wrap my head around the different options for creating a cross-platform solution, particularly with UWP in the mix....
View ArticlePCL or Shared?
Hello, I am new to Xamarin and think I finally have some of the basics down. However, I'm completely new to the Shared vs PCL concepts. I'd like some advice on which route I should go. My project is an...
View Articlehow to insert rows into sqllite only once?
I have a table called language with Id, Name and flag etc. This table should be inserted rows only once and later will be static. Question is first of all, - does it make sense or better to have it on...
View ArticleRedraw listview viewcell because of dynamic update
Hey, I have implemented a 'dynamic' update as part of my listview viewcell. When a property in the underlying viewmodel changes, I set the View of the viewcell to a different grid than the one that was...
View ArticleHow do You 'debug' forms?
When forms are not visible the way you expect them to - how do you typically investigate the issue? Any tips based on your experience?
View ArticleProper way to abort animation
My home screen has an animation. On Android, if I press the Back button and kill the app and open it again, it will crash. I noticed that this is due to my animation. To fix this, I handled...
View ArticleProgrammatically switch between Tabs in a TabbedPage
Title says it all Is there a way to programmatically switch between Tabs in a TabbedPage.
View ArticleMultiselect ListViews
I am new to Xamarin Forms and was wondering if we could build Multiselect Listviews using Xamarin Forms. Any help would be appreciated.
View ArticleValidate the Phone number entry to 10 digits in Xamarin forms
Hi there, I need a phone number validation which restrict the user to enter 10 digits, If it is exceeds 10 digits, it should provide alert saying the phone number is invalid. Can anyone sample code to...
View ArticleListView Renderers
Hi everyone, I've made a sample App to test Xamarin.Forms ListView renderers because i've got some updating issues in a "production app" and i noticed something weird with bindings. I'm using...
View ArticleI want to refresh my ListView on Button Click. Please help. :)
Error: 'xamarin.forms.ListView' does not contain definition for 'IsRefreshing' 'xamarin.forms.ListView' does not contain definition for 'IsPullToRefreshEnabled'
View ArticleHow to create ListView Long click in android xamarin
Hi, I have working on Long click on ListView Cell. In IOS i have create Renderer and inherit from ViewCellRenderer and create long click functionality using below code. public override UITableViewCell...
View ArticleBehavior issue
Good aftnernoon ladies and gents. My situation is as followed: - Portable project with a Custom Behavior in it. - Regular Xamarin project which has a reference to the Portable project in the Shared...
View Article