nullPointerException in multi column list using hashmap

后端 未结 3 1699
悲&欢浪女
悲&欢浪女 2021-01-25 13:47

I already tried references from similar question on SO, but hasn\'t got the appropriate solution.

I\'m trying to fetch the data from a webpage and displ

3条回答
  •  情话喂你
    2021-01-25 14:18

    Caused by: java.lang.NullPointerException
    12-07 11:40:19.767: E/AndroidRuntime(2283):     at com.multicol.listviewAdapter.getCount(listviewAdapter.java:31)
    

    The exception is at the getCount() method. List is null. Instantiate it

     private ArrayList> list=new ArrayList({});
    

    Give a try

提交回复
热议问题