1120026847

java.lang.ClassCastException: cn.leancloud.LCObject cannot be cast to com.example.secondhandtest.Goods 这是查询的方法 fun SearchAllGoods(recyclerView:RecyclerView){ val query:LCQuery<Goods> =LCQuery("Goods") query.findInBackground().subscribe(object :Observer<List<Goods>>{ override fun on…