Xamarin.Forms.Init()
Hello! I think I must be missing something very basic here. Within a PCL class library I wish to call Device.StartTimer. I do so in the generic PCL (Portable) assembly, not in the e.g. PCL.WP8 platform...
View ArticleXamarin.Social Update
The reviews on xamarin.social indicate that it needs a big API update, is there any timeline on this?
View ArticleCustomRenderer SubView vs. SetNativeControl
I was just trying to make a UIView (Just a box) I cloud present in forms to find out how this works. I am creating custom renderer that inherits from ViewRenderer<MyCustomView, UIView> I am then...
View ArticlePrinting on iPad from WebView
Hello guys, I want to print a webview with the default printer functionalities which are available on both Android and iOS. I have a DependencyService with a Print method, which calls the platform...
View ArticleI dont' use lambdas for events, and always do += -= (sub/unsub) am I being...
I just created yet another handler for an event, and thought.. perhaps I'm just being supersticious here. I've looked at memory guidelines; but didn't see any clear cut answers. What's the score with...
View ArticleConvert Image to byte[]
I've search for this but none of the options work for me. In the threads that I see, they are using BitmapImage or some .net assembly that does not exist in the pcl. I have a xaml Image on the page...
View ArticleBinding to an array of breadcrumbs
I am new to Xamarin development and am trying to implement bread crumb navigation. I have a string array in the C# code like this: public static readonly BindableProperty CurrentPathProperty =...
View ArticleWhere is System.Reflection.Assembly.GetExecutingAssembly()?
Hi guys I need an access to the current assembly. Why the System.Reflection.Assembly.GetExecutingAssembly() is not available in Forms? Thanks
View ArticleCustomer renderer not being found (Object type .. cannot be converted to...
I've been trying to create a custom renderer as described here. I'm getting the following error and have had no luck in determining why: System.ArgumentException: Object type...
View ArticlePressing buttons multiple times loads multiple pages (Android)
I'm having an issue with Android navigation. I have a list view that contains a bunch of items that have tapped events. These tapped events look like this: async void Tab_ItemSelected(object sender,...
View ArticleProcedure for Get Current Location longitude/latitude
Hi, I am confused to get Current Location longitude/latitude from Xamarin Forms. What is the procedure to Get Current Location longitude/latitude in Xamarin Forms App. Thanks
View ArticleIntellisense not working in VS15.
Does anyone know if something happened to the IntelliSense at VisualStudio 2015? I was developing my app using VS13 and with ReSharper the IS was working fine, after I installed VS15 it doesn't work...
View ArticleHow to set color for NavigationBar background and text in Xamarin.Forms.Android?
Hello everyone, I want to change the navigation bar background color and text color. But i don't know how to set it. I can only set the bar background color in App.cs file. MainPage = new...
View ArticleProperties Dictionary, Object size limit or type-limit?
Saw the entry under http://developer.xamarin.com/guides/cross-platform/xamarin-forms/working-with/app-lifecycle/#Properties_Dictionary and added storing some important data to the local storage. This...
View ArticleFailed to resolve "System.Reflection.Emit.AssemblyBuilderAccess"
I am getting this error while trying to bulid my ios proyect: Error MT2002: Failed to resolve "System.Reflection.Emit.AssemblyBuilderAccess" reference from "mscorlib, Version=4.0.0.0, Culture=neutral,...
View ArticleApplication.Properties and custom types
I have a custom type that's basically just a bunch of string properties. If I try to persist the object using Application.Properties (which is a Dictionary<string, object>) in Xamarin Forms, it...
View ArticleXamarin Forms 1.3 Triggers Bug
I’ve been playing with Xamarin Forms 1.3 new features to see what I can do with them and found a bug using Style Triggers in Xaml. I’ve discovered that things are ok until you add more than one Trigger...
View ArticlePrioritze Image Overlay in AbsoluteLayout
Basically, I have two images in an AbsoluteLayout, one is a circle (Image1) and the other is another larger circle (Image2), that I want behind it. Right now, it loads both images overlapping each...
View ArticleHow to set icon on navigation bar dynamically for android ?
Hi all, I want to set icon on navigation bar at run time. My icon is in Base64 format & I have converted it in image format by using converter. var image = new Image { };...
View ArticleDropBox Dropin Crashes when a file is selected in Xamarin.Forms Android Page
I have implemented platform-specific pages for Android and iOS to allow a user to select a file to use within my app. In the Android version, everything works as expected on my Samsung Galaxy Note 4...
View Article