I want to display my arraylist results by using custom list view.
for now i’m displaying my results by using android layout.
setListAdapter(new StudentListAdapter(this,android.R.layout.simple_list_item_1, results));
I’ve two fields to display
- Locimage(Image from ImageUrl)
- Locname (side by side)
files are here: ERROR/AndroidRuntime(335): Caused by: java.lang.NullPointerException
Since you’re using a custom list adapter and you have overridden the
getViewmethod I think the following line:Should be: