android.content.res.Resources$NotFoundException: Resource ID #0xfffffe6c
BaseMultiItemQuickAdapter使用中报android.content.res.Resources$NotFoundException: Resource ID #0xfffffe6c 错误,先检查了资源,然而并没有发现问题,最后发现 model中
@Override public int getItemType() {return getType();
}
中定义的type没有初始化,而我Adapter 中定义的type是 1 和 2;
将type初始化为adapter中有的即可。
例行记录
android.content.res.Resources$NotFoundException: Resource ID #0xfffffe6c相关推荐
- android.content.res.Resources$NotFoundException: Resource ID #0xfffffe6c (使用BaseRecyclerViewAdapt)
错误:android.content.res.Resources$NotFoundException: Resource ID #0xfffffe6c 意思是资源ID找不到.然后又在报错中出现跟Bas ...
- android.content.res.Resources$NotFoundException Resource ID #0xfffffe6c
背景描述: 背景提示:使用框架BaseRecyclerViewAdapterHelper 问题描述:找不到资源 然后是ID#0xfffffe6c 解决过程: 问了群里的小伙伴 有说可能是setText ...
- Android之提示android.content.res.Resources$NotFoundException: Resource ID #0x7f08010a
1 问题 在我的oppo机器上面运行一个页面没有奔溃,但是在红米安卓5.1版本运行页面奔溃,奔溃信息如下 /Timeline(11600): Timeline: Activity_launch_req ...
- Unable to destroy activity:android.content.res.Resources$NotFoundException: Resource ID #0x7f0c000a
android studio运行项目报错,信息如下: 04-17 11:16:11.756 800-800/xxx E/CrashReport: java.lang.RuntimeException: ...
- android.content.res.Resources$NotFoundException: Resource ID #0xff3f92d5
今天遇到一个问题,在小米.华为手机上没有报错,在oppo 5.1版本报android.content.res.Resources$NotFoundException: Resource ID #0xf ...
- AndroidStudio中提示:android.content.res.Resources NotFoundException: String resource ID 0x
场景 在Android Studio中对TextView调用setText时传入的是Int类型的值,就会提示: android.content.res.Resources NotFoundExcept ...
- Android报“android.content.res.Resources$NotFoundException: String resource ID #0x2”错误
Android报"android.content.res.Resources$NotFoundException: String resource ID #0x2"错误 当调用se ...
- android.content.res.Resources$NotFoundException: String resource ID XXXX
错误:android.content.res.Resources$NotFoundException: String resource ID XXXX 原因:一般发生在参数 int resId 错误, ...
- 【Android踩过的坑】5.android.content.res.Resources$NotFoundException: String resource ID #0x0
[Android踩过的坑]5.android.content.res.Resources$NotFoundException: String resource ID #0x0 情况: TextView ...
最新文章
- 零基础学Python:一文看懂数字和字符串
- IC设计通过system c 建模和 rtl级的有什么区别
- 数据可视化之 星图
- linux zsh命令行vim命令补齐,Linux使用zsh提高效率的5条建议
- 河马php一句话木马,一句话木马的套路
- Python基础入门:endswith() 函数
- 微软的搜索引擎挺不错的
- java 强制安卓竖屏,Android4.0强制横屏竖屏
- 这个太有意思了,程序员可以消遣娱乐
- VUE2第五天学习---自定义指令
- Request中的方法调用
- 中事件源previous_PM2.5传感器在扬尘监测系统中的应用
- Dijkstra求最短路径例题
- fpga烧写bin文件_FPGA烧写的方式和具体过程分析
- 属于计算机网络资源子网的,属于计算机网络的资源子网.pdf
- c语言中常见的数学函数
- 背负青天而莫之夭阏者,而后乃今将图南。
- pandas之数据文件导入和导出(python读取.csv,.txt,excel文件(.xlsx)以及导出为.csv、excel文件)
- 我的北京工作居住证申请之旅
- 深度学习数据增强数据扩增方法