关于android.content.res.Resources$NotFoundException资源未找到异常
适配器里面是这样写的:holder.read.setText(resultList.get(position).getHits());
![](https://img.haomeiwen.com/i13234139/37a6451d0e7d6606.png)
于是看了一下请求的串,发现
![](https://img.haomeiwen.com/i13234139/b3ca7256877eb66e.png)
有些value有引号,有些没有,于是我就在适配器里面改了一下就ok了holder.read.setText(""+resultList.get(position).getHits());
关于android.content.res.Resources$NotFoundException资源未找到异常
适配器里面是这样写的:holder.read.setText(resultList.get(position).getHits());
于是看了一下请求的串,发现
有些value有引号,有些没有,于是我就在适配器里面改了一下就ok了holder.read.setText(""+resultList.get(position).getHits());
本文标题:2018-07-22
本文链接:https://www.haomeiwen.com/subject/vllrmftx.html
网友评论