问答详情
源自:-

一输入就闪退

是这里的原因吗

if(cursor !=null){
    while(cursor.moveToNext()){
        CostBean costBean = new CostBean();
        costBean.costTitle = cursor.getString(cursor.getColumnIndex("cost_title"));
        costBean.costDate = cursor.getString(cursor.getColumnIndex("cost_date"));
        costBean.costMoney = cursor.getString(cursor.getColumnIndex("cost_money"));
        mCostBeanList.add(costBean);
    }



提问者:慕白白zzZ 2018-05-22 20:51

个回答

  • qq_s緣蒶_03614954
    2018-07-25 12:04:53

    贴代码