Xamarin forms UITest
I'm trying use app.Invoke in a XF UITest app. I've followed the instructions from here: https://developer.xamarin.com/guides/testcloud/uitest/working-with/backdoors/ In my AppDelegate I have the...
View ArticleCrash on start
Hi all - I've just updated a project I've worked on for a while to the latest XF build as well as updated all the project packages. Now when I start the app on the simulator, everything works fine, but...
View ArticleRelative Layout and xaml :: Why am I having such a hard time finding examples...
I've found a multitude of Classic Xamarin examples and a few xaml examples but what I'm not finding (and I could be searching wrong) are examples that explain the ins and outs of X and Y Constraints....
View ArticleDownloadProgress and GetResult
Hi everyone, I'm making a Xamarin.Forms Android application with MvvmLight. I've got a ViewModel which consume a .NET WebAPI to download a File. I'd like to display a download progress bar for the user...
View ArticleImage Zooming
I am working on Image Zooming and Pinching from Xamarin Forms to IOS i got the desired result but first time when image load it does not fit inside screen as you can see on attachment, So any guidance...
View ArticleBuild Error: does not contain a definition for "Id"
Any ideas why I get the error? From what I can tell everything is matched up. Below is my Layout and Activity code. Layout Code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout...
View ArticleCross Platform Crop Image View
Hey, Anyone have ever implemented some custom crop image UI that can be used in forms ios/android/win phone? What I`m trying to achieve is something like instagram that crop a image to a square, so I...
View ArticleUsing Image Asset Catalog in Visual Studio
I am so confused by the multitude of options for managing iOS images within an XF project. Per my understanding, an Image Catalog is the current, modern, recommended way of managing image in an iOS...
View ArticleFont changes once but never again
Hi, I have two custom buttons. I set the font in the Android renderer like this protected override void OnElementChanged(ElementChangedEventArgs<Button> e) { base.OnElementChanged(e); if (Control...
View ArticleListViewCachingStrategy - where is it defined?
When I try to use this, the enum can't be found: Error CS0246 The type or namespace name 'ListViewCachingStrategy' could not be found (are you missing a using directive or an assembly reference?) Code...
View ArticleActivityIndicator Color on PullToRefresh in ListView
I'm using PullToRefresh in my ListView. When the ItemsSource of my ListView is empty the displayed ActivityIndicator on a PullToRefresh operation is black, when the ItemsSource has items in it the...
View ArticleManually Update ListView binding
I have an ObservableCollection of messages with a timestamp field bound to a Listview. I am using an extension method to display a string based on how old the message is, i.e. "5 minutes ago" What's...
View ArticleBuilding the same app for multiple customers
We have an app that's designed for white-branding, where we sell it to multiple customers for them to issue to their end users, re-badged with their own logos and colours. The way Xamarin works it's...
View ArticleiOS - Playing a video in landscape for a portrait only app
Hello, I struggled with this for a while and finally figured out a solution, so I'm posting it here for anyone who might find it useful. It's all in how GetSupportedInterfaceOrientations gets...
View ArticleHow to get current ViewCell in ListView in OnItemAppearing
I am trying to fade in the cells for a ListView, but in order to do that I need to access the current cell being shown in OnItemAppearing. Anyone know how to do this?
View ArticleIs there a definitive Xamarin set of Instructions of how to update Android...
I've gone through a number of the various posts on how to update to Android Form 2.0 projects but they haven't worked for me. What the official Xamarin way to do this?
View ArticleXamarin.auth crash.
Hi everybody. I am trying to use xamarin.auth in a cross-platform application through a pageRendered and it connects with Facebook fine, but when come back, it crash. This is the call to the...
View ArticleIssue with Navigation when Using Xamarin.Auth and Renders
I have A PCL project and developing for iOS and Android. ALL my pages are in the PCL project and navigation in there works like a charm, but currently I am stuck at the point when I have to consume the...
View ArticleAttribute "circleCrop" has already been defined (APT0000) common_attrs.xml...
I upgraded from Xamarin.Forms.Maps 1.4.0.0 to 1.5.0.6447. My solution contains several projects, including a lot of PCLs, two Android, and two iOS projects. Everything was building fine before the...
View ArticleApp crash immediatly at startup with 'Fatal signal 6 (SIGABRT)' error message
Hi everyone, I'm a new Xamarin Forms developper (about 2 month old) and I'm facing a big problem when I execute my Xamarin Forms Android application. I search on the Xamarin forum and on Google for a...
View Article