How can i draw route on map for xamarin Forms ?
Hi, I have source(current location) and destination locations, Here need to show the Route map between the locations. And How can i implement the current location changed event in Xamarin Forms.....
View ArticleLaunching an app with Xamarin forms
Hi ... I am currently developing an app in xamarin forms (Cross platform) and I am having difficulties linking/launching another app.
View ArticleEditor.Focus() working first time only
Basic project, with this for the main page: public class App { public static Page GetMainPage() { var stackLayout = new StackLayout { Padding = new Thickness(50)}; var editor = new Editor {...
View ArticleNavigation to views from VIewModel where viewmodel is added in separate solution
Anyone have idea how can I navigate from viewmodel to views (Navigation.PushAsyc(new View())) where viewmodel is placed in another project and view are places in another project. Is it possible to do...
View Articlefailed to deploy application on the target device please try to rebuild the...
I have an iPhone 4s that I have already configured for debugging and have deployed my application to many times. However, after the iOS update to 9.0, i get. "failed to deploy application on the target...
View ArticleInitializeComponent does not exist
Hi, I'm having difficulties on XAML files in a Sheared project. Using Xamarin Studio; What I did was simply adding a xaml page to the project and build without adding any code. And it gives me the "The...
View ArticleBug in DisplayActionSheet, when user touches outside to cancel
await DisplayActionSheet ("TEST ACTION SHEET", null, null, "Action A", "Action B"); Causes "index beyond bounds" exception when the user touches outside the popup area. Touching outside means cancel....
View ArticleIs it safe to pass null to DisplayActionSheet? Question for Xamarin please.
I have been trying to use DisplayActionSheet to implement what should be a trivial piece of functionality. Inevitably there was a pretty significant bug on WinPhone (#21652) that cost some time, but...
View ArticleWhat are the correct Xamarin.Forms.Keyboard mappings for a custom renderer?
Or better yet, is there a method in Xamarin.Forms that'll set it for me? Here's what I have so far, but I know I'm way off, and don't support KeyboardFlags, which I'd like to be able to. Droid private...
View ArticleAnyone know how to remove the blue line under Android ListView Group Headers?
Hi, has anyone successfully managed to remove the thin blue line under the Android Listview Group Headers? I've tried a number of approaches, nothing appears to work, any help would really be...
View ArticleListview bind 'gradually' or async?
I have a listview I'm binding to a result set of Yelp businesses. The list is like 20 or so long. Each one has an image property that's a URL. The listview has an image bound to the image property of...
View Article[Material] TextInputLayout Renderer (Floating Labels)
Just thought I'd throw this out there. If you want floating labels on your Entry (as found here (by JamesMontemagno)), I've thrown together a custom renderer that extends Entry. note: this requires the...
View ArticleIOS screens now look streched
Hi all, Not sure what I have done, but my forms app screen now looks stretched and all the fonts are massive on iphones, yesterday it was all fine. I upgraded by windows machine and mac to the latest...
View ArticleBug with Image Control on Android?
I have an Image control that I'm using on Android and iOS. In iOS the image appears with the correct orientation. On Android is displays sideways. The Image's source is bound to a property that returns...
View ArticleIs there an "OnDestroy" event for XamarinForms?
Hey guys, is there an option to do something before my android app will be killed?
View Articleconnectivity plugin
@JamesMontemagno Hi! I've a problem with your connectivity plugin. I write this code: if(CrossConnectivity.Current.IsConnected == false){ await DisplayAlert("Connessione", "Connessione non presente",...
View ArticleXamarin.InAppBilling, how to get Activity not Context in Xamarin.Forms
When a user clicks a button, I want the Google popup to show (if on Android platform of course). I can do it, but only in my regular ProjectName.Droid project. I cannot do it with DependencyService...
View ArticleHow can i implement a timer in xf ? i need a sleep safe timer
Hi all, i currently use "Xamarin.Forms.Device.StartTimer" to start my timer. As suspected, when application goes to sleep mode, timer go to sleep with it. Is there any way to implement a timer ? Please...
View ArticleForms.ListView crashes when ItemSource has item removed and another inserted
I am at my whits end - any help would be greatly appreciated. I have a PCL Xamarin.Forms app on iOS and Android. The app runs great on Android but crashes on iOS. To best illustrate the issue, I have...
View ArticleSet ContentPage Background Color via Xaml & Converter
Hi, I have a simple contentpage where I would like to change the background color based on a boolean value (false => background color red, true => green). <?xml version="1.0" encoding="utf-8"...
View Article