Same UI across platform using Xamarin.Forms
I am currently developing a mobile app using Xamarin.Forms for Android and IOS. I need to share the UI code without rendering to specific platform. The UI must be same across the platform. Is it...
View ArticleHow to scale the webview content in Xamarin forms?
Hi, I want to achieve something like "ScaleAspectFit - from iOS" in Xamarin Forms. Anyhow know how to to it? (Not via Custom Renderer).
View ArticleXamarin.Forms 1.4.2-pre2 Released
1.4.1-pre2 Notes Bug Fixes New .dlls are properly installed. 1.4.1-pre1 Notes Enhancements Large performance boost when laying out lots of items on Windows platform Small performance boost for Grid...
View ArticleEvent Handler is null. What I am doing wrong?
Hi There, I am trying to create a ListView with some specific template per cell, so I am using a class that inherits from the ViewCell class. Here are the code public class DefaultPageListViewTemplate...
View ArticleCannot see the entire content when I scroll down till the end of a list view.
I have 3 elements in my content page (Xamarin forms), for instance: Content = new StackLayout { HorizontalOptions = LayoutOptions.Fill, VerticalOptions = LayoutOptions.FillAndExpand, Children =...
View ArticlePrevent Forms Android app to restart
I have a forms app for android & iOS. When the app goes to the background (on Android) by using the back button and then tap the app icon, the app restarts. My login 'window' shows and then the...
View ArticleDatabinding and Image to a url
I think there should be a really easy way to do this "Image" is a string url like http://www.something.com/images/hello.png image.SetBinding(Image.SourceProperty, new Binding("Image")); I'm trying to...
View ArticleMessagingCenter Exception in Xamarin.Forms 1.4
I am getting the following MessagingCenter exception thrown after upgrading to Xamarin Forms 1.4. Is there an appropriate workaround for the MessagingCenter in the latest Xamarin.Forms versions?...
View ArticleDate and time picker background color for Android
Hi I want to set background color of my time picker and date picker. I asked xamarin and they says I need to create a custom renderer. So I tried to create a custom renederer but I am not able to find...
View ArticleMigrating iOS classic projects fail to build with device. MT2002 Error,...
I've been seeing this problem popping up in the forum: old projects built under the classic iOS packages work in the simulator, but fail to build for an actual device. Here is the error:...
View ArticleXF for WinPhone8.1 (RT) Preview - BeginInvokeOnMainThread broken?
I ran into problems while trying to use BeginInvokeOnMainThread with the XF for Windows Preview on Windows Phone 8.1 (Runtime). I can duplicate the problem with a simple contrived example. I added the...
View ArticleFile locations and File.Exists
Hi, I've tried every conceivable way (I think), to determine if a file exists, and I can't produce consistent results. It randomly works/fails. I've tried: //testing only var documentsPathOne =...
View ArticleCleaning up events?
Hello! I am trying to Unsubscribe page-specific events when the page is no longer valid (ie. page has been popped off the NavigationStack). However, I can't find a reliable way to make this happen. Can...
View ArticleToolbar icon and text
It's possible icon and text in toolbar at same time? <ToolbarItem Command="{Binding MyCmd}" Text="{Binding MyVal, StringFormat='{0:C2}'}"> <ToolbarItem.Icon> <OnPlatform...
View ArticleWhen proper support for F#?
I'm testing the viability of use Xamarin.Forms + F# for rewrite a side project. However, is clear than F# have not full support for it, and is necessary to build in a hackish way the project. Then I...
View ArticleGet the selected item in a list view button
I am trying to get the selected item in the tap event of a button in a list view item, but I can't seem to figure it out. Anyone know how to accomplish this?
View Articlebindings don't work when not visible?
Hi Xamarin Experts, Is there a way for me to turn on bindings when controls are not visible? They don't seem to work when controls are not visible..... Right? Thanks, Mike
View ArticleViewCell blows up every time
On WinPhone, If I set any content inside the below ViewCell (see example Button), I get the following exception: Message = "MeasureOverride of element...
View ArticleAdd SeekBar to View with code dynamically?
Hi, Looking to know if somthing like this is possible 'new ContentPage{ Content = new StackLayout{ Children = { new SeekBar{ //..... properties here }, } } } var seekBar = new SeekBar{ //... properties...
View ArticleHow did you get good perf while using ImageCircle in ListView?
I can't get the ListView perf to a reasonable level even though my ViewCell contains only an ImageCircle.. @JamesMontemagno - I was watching your video on implementing ImageCircle and while...
View Article