ListView.Adapter breaks with NullPointerException

Hello my friends,

i have a few Problems trying to set a ListView.Adapter and hopefully you can help me to solve this Problem.

As soon as the 'lv.Adapter = adapter;' code is ran i get an Java.NullPointerException.
'adapter' is not null, i checked that already.

Do you have an idea how to solve that issue or an alternative idea on how to add/remove items to an listView?

Thanks for your effort.


Sign In or Register to comment.