Is there a way to Cache a View?
I was navigating my app today and realized that the re-draw of every view can be time consuming. I'll say that every view is data driven from our SQLite database, so I'm fetching data every time it...
View ArticleProblem with custom fonts in XAML for Android
I'm having trouble getting a custom font working in XAML on Android. I've narrowed it down using the Working With Fonts demo. In the FontPageXaml.xaml file, I've made the following changes (edited for...
View ArticlePublishing to app store from visual studio
Hi, Is it possible to publish the iOS app through visual studio ? I am not finding any options to generate the archive.
View ArticleUnhandled exception with button with image on Android
I am having runtime error "Unhandleled Exception" on Android with the following code while it is running okay on WP. ` #region Org var lblOrg = new Label { Text = "Organisation", MinimumWidthRequest =...
View ArticleBusy indication view allowing touches to 'underlying' controls
I'm using Xamarin.Forms and all views/pages are defined using XAML. I have a ContentPage with a grid that contains some input fields/buttons and a custom BusyIndicator 'control' that spans the full...
View ArticleDrawing outside of layout
I have created a control, that is drawn natively on each platform in the Draw event. That works perfect on iOS and Android. It shows the direction to a given point with an arrow. I want to draw this...
View ArticleOwner draw controls, bounds and real values
I found, that there is a difference of the values for Bounds and values you get with OnSizeChange in custom renderers on Android. It seems, that the values of Bounds are device independent, while...
View Article#if DEBUG
I differentiate some code with #if DEBUG #else blocks. But when I publish the app in Release mode it always considers the debug code. When I switch between Debug & Release, I can see the right code...
View ArticleXamarin.Forms 1.2.3 Prerelease 1 out
Hey guys, new pre-release is out today. Get it on nuget.org. If you run into bugs please file them on bugzilla! Notes This release contains a new dll used to speed up JNI bridge invocation for Android....
View ArticleCannot uncheck targeting platform "Windows 8"
Hi, in my Xamarin.Forms PCL Project (VS 2013 U3) i cannot uncheck Windows 8. Every time i try it says "The Following will be automatically targeted because they support the same set of portable APIs:...
View ArticleAnybody else have problems with black pages (LayoutChildren() not being called)
I occasionally experience (maybe 30-40% of the the time) that a Page turns out blank when navigating to it. I have tried to override OnAppearing() and LayoutChildren() in my code-behind and setting...
View ArticleProblems with navigation
Hello mates, I have my menu page (the root page) and then i do a PushAsync to load a page with a list, when a tap on a item i load a page with details of the tapped item (also with PushAsync) and when...
View Article„This is the normal behavior of...?!?“ / roadmap to XF...? => wishes to Xamarin
I have done a Xamarin(.Forms)-trial (started about 40 day’s ago) and have bought Xamarin now. The only reason to go with Xamarin was… Xamarin.Forms! In the short time, I work now with Xamarin, I have...
View ArticleReferencing XAML element from C# with x:Name
Hi guys, in the file foo.xaml (the XAML file) I have something like this: <Image x:Name="pippo"/> in the file foo.xaml.cs (the C# file) I tried to reference the element in this way: Image im =...
View ArticleSearch in Toolbar
Hi All! I am writing an application using Xamarin.Forms UI and I need to have search component in toolbar? Is there any crossplatform way to do that? Thank you
View ArticleGoogle Maps for iOS and Xamarin Forms
I am learning Xamarin and Forms for the first time. I have got my head around the basics but am getting quite confused trying to get the Google Maps for iOS component working with Forms. So I have the...
View ArticleButton with Image
Hi guys, I want to make a button with an image. If I use this annotation it works: <Button Text="bla bla bla" Clicked="Func21" Image="image.png"/> Meanwhile if the path of the image is more...
View ArticleHooking into platform specific methods with xamarin forms buttons.
Right now I'm working on a lite drawing app for iOS and Android using Xamarin forms. So far I've been able to get the actual drawing aspect done with a custom UI view and renderer by way of this pretty...
View ArticleMVP with Xamarin.Forms
A lot of the code samples around the internet for Xamarin.Forms use MvvM and MvvMCross. Is it feasible to use MVP patterns or is Xamarin.Forms designed to use MvvM patterns specifically?
View ArticleAnimate ContentView from XAML into XAML ContentPage RelativeLayout
I am in a situation where I need to animate in a custom control in the form of a ContentView to cover (mostly) the relative layout main view. My problem is I am having trouble getting the ContentView...
View Article