How to set the background Color in the PCL for the UserDialogs.Toast
Hi: I have the following code, but is not accepting the Color saying: Error CS0433 The type 'Color' exists in both 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04fs9cfb79065' and...
View ArticleZxing.Net.Mobile Forms and MVVM Xaml Not Scanning
New to Xamarin development! Using Visual Studio 2017 and all the latest installs and updates for my dev environment. I have my app "shell" working in that it will run, navigate, crud to local db, and...
View ArticlePicker control doesn't open up and highlight the user selected item.
Hey all, I have a picker control that contains a couple hundred items. A user can come in, select an item, and the picker will update it's text, selectedIndex, and selectedItem properties properly. I...
View ArticleProblem with Buttons isEnabled binding with converter
I don't now if this is a bug of Xamarin.Forms, CarouselView or my code. I have four content views in my CarouselView. At the moment the views are all one and the same page, different objects of course....
View ArticleAVPlayerViewController controls not working
I'm trying to create a custom renderer that will display videos on iOS using native controls. The code below plays the video, but the player controls aren't working right. The controls quickly...
View ArticleRequestPermissions does not show dialog
Hi I have been searching for a while now but have not found a solution yet. I need to request the READ_PHONE_STATE permission. I have implemented a device specific implementation of my PCL interface...
View ArticleEditor not showing keyboard in Android
Hi, I'm having a strange issue in my Forms application regarding an Editor element. There is one Editor field that doesn't show the soft keyboard when it's selected. For some reason if I...
View ArticleDisplay Tabbed Page in top in Xamarin.iOS
Hello everyone, I need to create the tabbed menu as per Youtube's latest UI to show the menu in top in android and iOS. The android default default behavior is to show menu on top so that's working...
View ArticleNon-public API usage _glGetQueryObjectivEXT with no OpenTK.dll in reference
We looked at the bug https://forums.xamarin.com/discussion/82473/itunesstore-the-app-references-non-public-symbols-in-yourapp-glgetqueryobjectivext We went to remove this but there's no reference with...
View ArticleHow to intercept Navigation Bar Back Button Clicked in Xamarin Forms?
I have a xamarin forms page where the user can update some data in a form. I need to intercept the Navigation Bar Back Button Clicked to warn the user if some data have not been saved.How to do it? I'm...
View Articleunfortunatly app1.android has stopped
I create a new project cross-platform->pcl named App1. I make no change. I can compile all platforms. No problem. Then i start debug. All seems ok. The app seems to appear in the emulator but after...
View ArticleCan I have multiple styles in XAML associated with the same Key.
"> I was reading this blog, where the author discusses how to toggle between a light and Dark theme. By using DynamicResource Bindings:...
View ArticleRadioButton And DropDown List
In Xamarin.Forms, Which control is used for RadioButton, Group RadioButton And DropDown List?
View ArticleSamsung S6 disabled button text disappears
I have a Xamarin.Forms shared project and I have just stumbled upon a weird behavior that is related to Samsung S6 running Android 7. I have not been able to recreate the issue on any other device, no...
View ArticleAndroid, after RemovePage and Navigation.PopAsync() Unhandled Exception...
I got 4 pages in NavigationStack. I try to remove a 3rd page and popasync a last page, to navigate to page 2. Navigation.RemovePage(Navigation.NavigationStack[Navigation.NavigationStack.Count - 2]);...
View ArticleUsing Xamarin.Auth with Xamarin.Forms
How you can use Xamarin.Auth when you're using Xamarin.Forms? I have this: async public System.Threading.Tasks.Task<bool> LoginWithFacebook (object dialog, string FacebookAppID) { var user = new...
View ArticleHow to set AntiForgeryToken in app
Hi, I'm actually building an Forms app which uses aspnet core webapi. For authentication I use following code inside the webapi [HttpPost] [AllowAnonymous] [ValidateAntiForgeryToken] public async Task...
View ArticleI need your help for HybridWebView Custom Renderer --> get current url
Hello I need your help. In this code, how can I get to get the current url using System; using Android.Webkit; using Java.Interop; using static Java.Util.ResourceBundle; using Android.App; namespace...
View ArticleXamarin Forms iOS Editor within ViewCell in TableView
My XAML is this: <ViewCell x:Name="EventCell"> <StackLayout x:Name="EventStacklayout" BackgroundColor="Aqua"> <custom:ScrollableEditor x:Name="DetailsEditor" Text="{Binding...
View ArticleStaticResource into MarkupExtension
I'm currently trying to use a static resource with an extension for my entry's FontSize property. I have this code piece of code: <?xml version="1.0" encoding="utf-8" ?> <ContentPage...
View Article