Listview.setadapter raising nullpointer exception

前端 未结 4 1844
悲&欢浪女
悲&欢浪女 2021-01-23 06:09

The code is as below

    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    Intent i = getIntent();

        ArrayLis         


        
4条回答
  •  被撕碎了的回忆
    2021-01-23 06:28

    what is this ?

     UrlList urlList;
     urlList = XMLParser.urlList;
    

    and what is it doing here?

    String[] categoryNameStrings = urlList.getCategoryName().toArray(new String[0]);
    

    Can you please post the error log?

提交回复
热议问题