Problem with selected cells when using RecycleElement caching strategy on...
Hi guys, I have a ListViewwith caching strategy set to RecycleElement, where each cell has a certain number of context actions implemented with MenuItems. In Android, when the user long presses on a...
View ArticleLoad Image form byte[] array.
Hi, there is the posibility to load in the Xamarin.Forms Image an Image from a byte[] array? Thanks
View ArticleImage animations in Xamarin.Forms
I am in the evaluation phase for a port of an Android app to Xamarin. In the Android app, various animated images (available as multiple pngs) are shown as central part of the user interface. Android...
View ArticleHiding the iOS StatusBar
I have a MasterDetail Forms app, XF 1.4. I can't seem to hide the status bar at the top of the app. iOS 8.0 and above. Ideas? I tried the old way: UIApplication.SharedApplication.SetStatusBarHidden(...)
View ArticleobservableCollection requirements
Hi Folks, I've created my own collection class that I'd like to be able to use as the ItemSource of a listView. What are the requirements to make my class work with the listview as an observable...
View ArticleListView Virtualization for Loading on Scroll
Hello all! So I'm trying to figure out how to allow for loading individual cells as you scroll through a listview. I have a database with thousands of items, and so I don't want all of them to load at...
View ArticleHow to correctly require authorization to use geolocator plugin in ios?
Hello, I'm currently use Montemagno Geolocator plugin on my app, and until the last version all seems to work fine. Some days ago I released a new version, with some bugfix and using new versions of...
View ArticleRESX Localization using a Shared Project (not PCL)
This article only covers how to do localization with a Core library of type PCL, I however, am using the Shared project type as the Core library, and it does not support .resx files, only .resw files....
View ArticleDisable/Enable IsGestureEnabled on MasterDetail not working on iOS
Hi. On iOS I needed to disable the gesture enable to open the master page on a MasterDetailPage as its content contains a swipe detector and interferes with it. If I don't disable the gesture it works...
View ArticleHow to make the screen visible for 20 seconds or more in the Xamarin forms
Hi I have 3 content pages here first.cs second.cs third.cs In First.cs I have following code snippet. Button b=new Button(){ Title="Submit" }; b.clicked+=(){ //Here I would like to call the second page...
View ArticlePropagate touch from top view
Hello, I have a grid in top of another grid. Both grids have views that should respond to tap gestures. The problem is that the views that are in the grid "below" can't be touched. I have tried to set...
View ArticleSet ButtonType in ButtonRenderer - iOS specific
Hello everyone, I'm currently trying to implement customs controls (Buttons, Labels, etc.) which looks and behave on all plattform similar. I startet with Android and a custom button, which works fine....
View ArticleCross-platform Keyboard dismiss
Is there a cross-platform mechanism for dismissing the keyboard when controls not requiring the keyboard are used? I am looking at a Windows Phone app running in the emulator, where the keyboard...
View ArticleHow to Close Application In Xamarin Forms
How to close the application in Xamarin forms ?
View ArticleXAML in 'portable' project opens in XML editor instead of XAML editor in...
This issue can be seen even in the sample project that comes with the XAM140 class materials which makes me think if it doesn't work in a simple example that comes direct from Xamarin then it isn't...
View ArticlePerformance issue : custom render + GestureRecognizers
Hi, have a simple custom render for images. It works like a charm in iOS but it has serious performance issues on Android. It simply set a "selector" , changing the image for normal and pressed state....
View ArticleWating at DependencyService.Get().GetPositionAsync(10000)
Here I need to get the Current Position of the user. I'm using the following code to get the Position public async Task getMyCurrentPosition() { try { IGeolocator geolocator =...
View ArticleHow to handle notification click on cross-platform project
Hi, I'm receiving notification from notification hub for both iOS and Android. Behaviour to reach: The app at startup after the login register to push notification, now when I receive a notification I...
View ArticleEntry control does not creates an instance of a TextBox on Windows Phone...
Entry Renderer for entry control on Xamarin.Forms does not create an instance of a TextBox on Windows Phone native control as it should. In Xamarin Forms (Customizing an Entry) documentation it...
View ArticlePCL Project with Share Project - any decent solution?
So I started by attempting to use OpenTK with a custom ContentPage in a PCL project - but cant use OpenTK within a PCL class. I added a Shared Project to the solution, and made the ContentPage with...
View Article