question

MarceloAbreu-7822 avatar image
MarceloAbreu-7822 asked ·

C# - Spinner Adapter - Xamarin Android


I have a problem with the adapter for my spinner that takes data from a SQLite Database and tries to show a bunch of strings as a result of the spinner.

It sends me an error message > "Exception of type 'Java.Lang.NullPointerException' was thrown." when I click on the spinner with the app running, if it wasn't in a try/catch the application would freeze.

Can someone help me find where the problem is ? Code below:

StackOverflow Question : https://stackoverflow.com/questions/62091904/c-sharp-spinner-adapter-xamarin-android

not-supported
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DSPatrick avatar image
DSPatrick answered ·

Xamarin is not currently supported here on QnA. I'd try asking for help in dedicated forums here.

https://forums.xamarin.com/


--please don't forget to Accept as answer if the reply is helpful--


Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management


Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.




Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.