Use a DataTempleSelector to change the DataTemplate that is currently...
I am working on an app that one section of it displays Flash Cards for studying certain subjects. What I tried to set up was a DataTemplateSelector that changed the DataTemplate depending on whether a...
View ArticleHow to ask for runtime permission
Hi, I'm trying to get a SetTime runtime permission this way if (CheckSelfPermission(Manifest.Permission.SetTime) != Permission.Granted) { RequestPermissions(new String[] { Manifest.Permission.SetTime...
View ArticleUpdated doco on how to add a Mac project?
Hi all, I'm having a go at adding a Mac project to my Forms solution for the first time, and I'm finding that the doco appears to be out of date. I've been following...
View ArticleDatePicker not working in ListView
Hello, I have this problem: I added a DatePicker like this : And it is added in a listview like this: <ListView.ItemTemplate> <Grid.ColumnDefinitions> </Grid.ColumnDefinitions>...
View ArticleEmailing Attachments on Marshmallow
I have an app that will attach a PDF and send it using the email app the user chooses. This seems to work fine on anything, but Marshmallow. When I try this on Marshmallow I get varied results. In...
View ArticleBase.Handle / MKAnnotationWrapper
I have built a simple custom pin annotation and everything was working great until yesterday when GetViewForAnnotation started passing in MKAnnotationWrapper's instead of an MKAnnotation that can be...
View ArticleIs requestFocus and focusChange bugged with edittext?
Hello, I have just found a really strange behaviour and want to know if it is some kind of bug or just something I have not done well. I have certain Items on a recycler view. These have edit texts....
View ArticleCannot launch simulator on Mac
Just trying to get my Windows 10 Professional machine working with a MAC, I have managed to get to the point where the build process will complete successfully however I cannot run the application up...
View ArticleCustomizing Theme.AppCompat.Light.DarkActionBar
In a new blank project using the Master-Detail Xamarin.Forms template, the Android project renders with a light grey background and dark grey text. I'm trying to change that to a pure white background...
View ArticleDo I really need ipa file to run my Xamarin.UITest on AppCenter (Simulator)
I have my repository on dev.azure.com, which contains: 1. My iOS App 2. My Xamain.UITest I have correctry configured AppCenter to Build my iOS App (1). Now, I'd like to run my Xamarin.UITest with...
View ArticleHow do I hide the Tabs of TabbedPage when clicking a nested NavigationPage?
There is this great article on how to set up a TabbedPage: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/navigation/tabbed-page It shows how a page of a tab can be set up with...
View ArticleOnPlatform XAML
Hi! I am trying to add the OnPlatform tag in my XAML ContentPage definition file. I have a working Android App and now wnat to to make tweaks for the IOS version. I would like to use the OnPlatform tag...
View ArticlePerformAction(AccessibilityNodeInfo.ActionClick) Problem Help me please
IList sendMessageNodeInfoList = rootInActiveWindow.FindAccessibilityNodeInfosByViewId("com.example/send"); sendMessageButton.PerformAction(AccessibilityNodeInfo.ActionClick);///This code is wrong....
View ArticleKeyboard overlarp bug
Hi, I had this line KeyboardOverlap.Forms.Plugin.iOSUnified.KeyboardOverlapRenderer.Init(); to my AppDelegate file to avoid Keyboad overlap. It works really well for the entries but I've got a bug with...
View ArticleWhat is the right way for Xamarin Forms Button Clicked in C#?
Morning Guys, when using Xaml i can make a button and give it the Clicked="SubmitButton_Clicked" method but I am trying to make a app using C# instead. does anybody know how to get this to work in C#...
View ArticleHow can I set page animation boolean to false using Prism NavigateAsync()?
How can I turn on page transition animation when using Prism NavigateAsync()? The Xamarin.Forms PushAsync() has a Boolean you can set to false, east as that. How can I do that in Prism?
View ArticleOnNavigatedFrom() does not work but OnNavigatedTo() does on a INavigatedAware...
I have a Page A -> Page B -> Page C scenario. The OnNavigatedTo() method fires for Page C but the OnNavigatedFrom() does not fire no matter what I do, I've tried suspending, closing, and...
View ArticleUnsure why 2 way binding is not working correctly.
I have a ObservableCollection of Category which has a selected property and I'm dynamically creating a series of checkboxes which I want to two way bind. I populate the checkboxes correctly, and when I...
View ArticleAny idea how to translate this to C#?
I'm struggling translating this code from Java since I cannot find the option of the class in the StrictMode: Method m = StrictMode.class.getMethod("disableDeathOnFileUriExposure"); m.invoke(null); Any...
View ArticleTime needed to publish an APP on iTunes.
It is normal that, to publish a trivial APP on iTunes it takes weeks? from Apple I make continuous observations on the use of GPS, and a series of questions regarding any payments in the APP ...
View Article