Timer in Portable Class Library?
I would like to access System.Threading.Timer in my PCL targeting iOS, Droid, and Windows under Xamarin 3. I can't get it to happen. I know Microsoft accidentally left it out at one point, but they've...
View ArticleBinding and/or Converter Not Working
Trying to make a custom view that contains a ListView control. This is a control I made in WinPhone XAML and trying to port to Xamarin.Forms XAML now. In the item data template there is a content...
View ArticleBinding Update become blank on UWP
Hello all, I am a beginner and just starting to use Xamarin.Forms for cross platform. At first, the thing work fine in Android, but not working in Universal Windows Platform. I have create the...
View ArticleImage As Background
Hello, I am working with Xamarin Forms and would like to use an image as the background for some pages. I have several Views and Layouts on different pages, and would like to overlay them onto a...
View ArticleLayouts performance for Xamarin Forms in multiple platforms
In general I wanted to know what are the basics mix and match that we can do with layouts so that the performance of the application is not hampered? Example: I have a list view and inside my list view...
View ArticleHow do you change the Frame Padding on WinPhone?
I have noticed that the Frame view on WP has a very large amount of Padding that I can't seem to override. See example screen shot. For demonstration purposes, the Frame was given a red background with...
View Articlelistview SetSelection not works in xamarin forms android
if (gurbaniPothiViewModel.IsFromSearch) { var res = gurbaniPothiViewModel.PothiDisplayList.Where (x => x.PothiText.Equals (gurbaniPothiViewModel.SearchText)).FirstOrDefault (); if (res != null) {...
View ArticleResXFileCodeGenerator can only be used with .NET projects
I started a Xamarin.Forms project a few months ago, and then the Unified changes came. So, it appeared to be easier to simply recreate the project from scratch using the new app templates than porting...
View ArticleHow to disable zoom in WebView
In my app (Android, iOS and Windows Phone) I have a Page with a WebView that loads content from a URL (an html page). The WebView takes all the space in my page and it's all working perfectly except...
View ArticleAfter Updating packages Xamarin.forms app getting crash on Android M.
Hi All, In my Xamarin.Forms App I have updated all packages of PCL and android specific but it's giving following exception in LoadApplication(new App) method. Specifically occurring on android M only....
View ArticleIs it possible to inflate a View from XAML?
I would like to create the XAML file for a View and use it in different pages. In native Android I'd do it this way: LayoutInflater inflater =...
View ArticleAccordion ListView
Hi all, I need an accordion list view for a project I am working on, I've heard that you can achieve this by using observable collection as the item source, but yet I'm not sure how that could be...
View ArticleListView inside StackLayout: a height problem
In a ContentPage I have a ListView inside a StackLayout inside a ScrollView. The ListView is populated (ItemSource is set) in the ContentPage when OnAppearing gets called and I can see that the list is...
View ArticleHow do I trigger an update of CanExecute in a custom implementation of ICommand
I've created an AsyncCommand that returns false for CanExecute while the command is running, which is great except I can't seem to update the CanExecute so it never gets disabled. In this article it...
View ArticleContentPage
Hi all, Please I need your help. When I create a new xamarin forms project(shared) and then add a new ContentPage, The ContentPage that is inherited doesn't appear blue. It is as if though its not...
View ArticleOverlapping Grid Items Refresh
I have a grid where some of the items live in the same column (Grid.Row="0" for several items). When a user clicks certain buttons, some of them hide and only 1 is shown at once (using the IsVisible...
View ArticleXamarin Registration Form Material design placeholders
Hi is there a way (plugin or otherwise) how one can create a registration form where the placeholders would float up on focus and float back down on blur again? Thanks Shaun
View ArticleNot able to add Newsoft Json package in the Xamarin Studio
Hi, I am working on Json file.I need to convert the json file in my code like below var example=JsonConvert.DeserializeObject<List>(json); to convert I need to add the package called newtonsoft...
View ArticleAndroid custom TabbedPage renderer with Material Design compat
Hello, everyone! I'm trying fix tabs broke texts but, since I'm using Material Design AppCompat, I'm having problems to create a custom TabbedPage renderer. Anyway, I'm just search for a way to fix...
View ArticleTabbedPage in MasterDetailPage not producing scrollable tabs
Hey everyone, I'm having an issue where I have a TabbedPage in a MasterDetailPage and the tabs are not scrollable. Instead they're getting squished to fit the screen. Any ideas what's going on? Page...
View Article