Quantcast
Channel: Recent Threads — Xamarin Community Forums
Browsing all 204402 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Can't create SqlParameter in EF Core 3.1.2 in Xamarin.Android application

I have Android Xamarin.Forms project. It depends on Db project with EF Core code (SQL Server) and targeted .Net Standard 2.0. Both projects in one solution. With EF Core 2.2.6 everything works fine....

View Article


How can I remove the dividers in the AppShell flyout menu?

Currently, between my flyout items and normal menu items a divider is being displayed. I'd like to know how to remove this divider or at the very least change it's color. Anyone got any suggestions on...

View Article


App splash screen shows, OnCreate never called - dies with...

Hello, A co-worker had Visual Studio lock up yesterday. After restarting everything, he cannot run any of our apps. He is debugging on Android using emulators. In each case, the app builds, deploys,...

View Article

Can't install the application to Microsoft Android phone simulator

I used Azure DevOps to build a simple Android application and later passed to App center for apk downloading. After I drag and drop the apk to the Microsoft Android phone simulator, I get an error...

View Article

Checkbox and TapGestureRecognizer not work

Why this not work (command is not executed) <CheckBox Grid.Row="0" Grid.RowSpan="2" Grid.Column="3"> <CheckBox.GestureRecognizers> <TapGestureRecognizer Command="{Binding...

View Article


cannot show urhosharp surface multiple times

When the user open the view, navigate backwards and open the view a second time, the app crashes. Any idea how to go around this issue? Idealy, I would like to call: skyUrho = await...

View Article

Renderers in Separate projects not working?

(PCL, XForm 1.3.1) We have many apps. To handle this we have a common project for IOS and a common project for Android apps. See Screenshot. If we put a Renderer in the Common IOS project, it is...

View Article

Image may be NSFW.
Clik here to view.

ListView rendering on generic emulator M-DPI 5.4in — too much whitespace...

I wondered if others use the Generic Android M-DPI 5.4in emulator and if so, how do you fix the ListView rendering? I've been happily using the Generic emulators for some time as I find them to be...

View Article


Xamarin forms: Epubreader: System.AggregateException: 'One or more errors...

I am using epubreader (vers-one) NuGet package for parsing .epub files. My Code: string fileName = "SampleEPUB.epub"; var assembly = typeof(MainPage).GetTypeInfo().Assembly; Stream stream =...

View Article


cannot delete app data, where is...

Something very strange, I use sqlite-pcl-net v1.7.302-beta I store datas in a sqlite database. I debug my app on a android device. I cannot delete the datas: If I delete an item, when I start the app...

View Article

Xamarin UI Test Failed: System.InvalidOperationException : Sequence contains...

I used to be able to run my unit previously, with this configuration in Start Up using Xamarin UI test. Here’s the setup configuration. return...

View Article

Call to SharedAccessoryManager.ShowBluetoothAccessoryPicker Fails

I'm porting working Swift code to Xamarin for my project. Every time I call this function, it fails and the accessory picker dialog doesn't show....

View Article

CollectionView: SelectedItems not changing

my XAML: <CollectionView ItemsSource="{Binding Items}" SelectedItems="{Binding ItemsSelected, Mode=TwoWay}" SelectionMode="Multiple" ItemTemplate="{StaticResource ItemTemplateSelector}">...

View Article


Image may be NSFW.
Clik here to view.

How to set the icon in Actionbar ?

Hello, I made a new project in visual studio. I would like to know how to set the icon in the actionbar. Try SupportActionBar.SetIcon but it doesn't work, only the title works. SupportActionBar.Title =...

View Article

Image may be NSFW.
Clik here to view.

how to implement this the right way uploading images attach to json object?

Hi guys i have a web api that i use for my xamarin project. in my web API project this is my controller and in my model it looks something like this now what i want is to upload a file/image to that...

View Article


web api image + json in one go. WHATS THE PROPER WAY?

so this is my code for posting public async Task AddProduct(int productid, string productCategory, string productColor, decimal unitPrice, string userId,byte[]image) { var client = new HttpClient();...

View Article

Popup page with lottie return after animation is ready

Made a Popuppage with a Lottie animation . Start the PopupPage with a ButtonClick But how do i close it after the Lottie animation is done ? async private void Button_Clicked(object sender, EventArgs...

View Article


How to create a Multiple Choice quiz based on a True/False quiz?

Hi. I have the code for a True/False quiz app, and I'd like to modify it in order to have a "multiple choice" (4 options) section. For the T/F component, I used a boolean to check whether the answer...

View Article

how to add a list data into a picker

I have an API and i want to load API key into picker list how I do that

View Article

Image may be NSFW.
Clik here to view.

Android app reinstalling fresh each time in debug mode

This used to work and suddenly stopped. Attached are all the screenshots for my config - it's driving me bonkers - any clues ?

View Article
Browsing all 204402 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>