Finding the closest value from a list
Is there a way to put a ton of values in a list, set another stand-alone value, and then find out which item in the list's value is closest to the stand-alone? In the end I'll be using this method to...
View ArticleFody 'IntermediateDir' not found
Hi all I've updated to the latest and greatest of everything: Mac OS 'El Capitan', Xcode 7, Xamarin Alpha, and I find with one project where I've used Fody a bit that I get an error thrown on the...
View ArticleHttpWebRequest https problems
Hi guys, Setup: Windows 7 Visual Studio 2015 OS X Yosemite Xamarin (latest stable version) I've been trying to solve this issue. I cannot seem to get any solid information on it. But OK in short I've...
View ArticleAny update on Xamarin Forms with Windows 10 Universal Windows Platform?
I am eagerly waiting to hear from Xamarin Forms working with Windows 10 UWP apps ... anything exciting launching tomorrow with VS 2015 launch?
View ArticleXamarin.Forms UWP support & Windows 10 Mobile
Should we expect Xamarin.Forms UWP support on the day Windows 10 Mobile becomes generally available? From what I see on https://resources.xamarin.com/xamarin-forms-private-preview.html, it's a "very...
View ArticleHow to add a MapFragment within a Xamarin.Forms app
Greetings, Are there any recommendations on how to add a MapFragment (for Android) to a Xamarin.Forms app? Specifically, I want to build an app that has a region for a map but also has other controls...
View ArticleUsing Async in Xamarin Forms
I've created a new Xamarin Forms PCL project for iOS, Windows Phone and Android. I seem to be tying myself up in knots with async methods. The new Xamarin Forms Templates do not seem to be set up with...
View Articleandroid custom renderer onDraw (even DispatchDraw), not getting called on...
Hi folks, I'm wondering if I'm doing something that just won't work with async. My custom renderer sets a boolean flag in my control to tell it to "start rendering". In my OnElementPropertyChanged, I'm...
View ArticleObservableCollection doesn't seem to be updating the list view
Hi, I have a small app that displays the values from some iBeacons (estimote ones). The platform app is picking up the tag information and will output them in the Xam.Forms based UI. When the RSSI...
View Articlewhy do breakpoints often stop working??
Hi folks, I'm happily stepping through a piece of code of which my breakpoint was hit within a while loop. The while loop is enclosed in a try catch, but there doesn't seem to be an exception going on....
View ArticleReference to type `System.IConvertible' claims it is defined assembly...
Anytime I try to reference an NUNIT data type in the iOS framework, I am given a compiler error saying it can't find the IConvertible type Error CS7069: Reference to type System.IConvertible' claims it...
View ArticleXamarin forms android image is not getting compressed
I'm working on xamarin forms project. I'm taking images from gallery and uploading those to server. My back-end is parse backend where we can not upload files having size more than 1MB. So, I'm trying...
View ArticleHow to change renderers that change with time
Hi Xamarin Experts, Normally, when one creates a custom renderer, BindableProperty is used, and in the custom Renderer, OnElementPropertyChanged is called which alters something in the view. If I want...
View ArticleHow to change the nav bar background color on Android?
Hello I'm having issues with setting the navbar color with this: var mainNav = new NavigationPage (new TodoListPage ()); mainNav.BarBackgroundColor = Color.FromHex ("a97946"); MainPage = mainNav; This...
View ArticleCustom Rendering every Visual Element for Swipe Gestures?
We wanted to have own Views for Tab Buttons so we built a custom Tabbed Page. Now we want to make it swipable. I started making a custom renderer for StackLayouts, because in every Tab is a stacklayout...
View ArticleXamarin Forms Android WebView support for Non-Web Documents
I am using a WebView to display Non-Web Documents. This works great on iOS but on Android it only displays images. Note that I am doing this on the Portable Project. Checking Xamarin's documentations I...
View ArticleHow to bind AbsoluteLayout.LayoutBounds in XAML
I am trying to bind AbsoluteLayout.LayoutBounds in XAML, but i'm not sure exactly how to get it to work. Anyone know how to accomplish this? Here is my code so far: <AbsoluteLayout> <BoxView...
View ArticleEvent of button is not getting fired in absolute layout
Hello All, I am facing an strange behavior in Xamarin.forms. When i m writting below xaml code it's working fine as expected but the same thing i m trying to achieve dynamically from code behind event...
View ArticleUntrusted HTTPS certificate
Hi, I use System.Net.HttpClient to call my webservice in my PCL Forms project. With HTTP everything works great, but now for the stagging environment the WS was passed in HTTPS with an untrusted...
View ArticleText being trimmed in a Label when rotated
Hi. This is my first post here in Xamarin Forums, so please excuse me (and do let me know!) if this question is not placed where it should or whatever. I'm also pretty new with Xamarin itself, so maybe...
View Article