Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 75885 articles
Browse latest View live

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 Article


Xamarin.Social Update

The reviews on xamarin.social indicate that it needs a big API update, is there any timeline on this?

View Article


CustomRenderer 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 Article

Printing 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 Article

I 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 Article


Convert 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 Article

Binding 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 Article

Where 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 Article


Customer 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 Article


Pressing 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 Article

Procedure 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 Article

Intellisense 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 Article

How 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 Article


Image may be NSFW.
Clik here to view.

Properties 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 Article

Failed 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 Article


Application.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 Article

Xamarin 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 Article


Prioritze 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 Article

How 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 Article

DropBox 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
Browsing all 75885 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>