当前位置:网站首页>Notifyitemchanged flash back
Notifyitemchanged flash back
2022-06-13 06:16:00 【Ming ruoxiao River】
In the use of notifyItemChanged() to update Appoint item when Flash back
The mistakes were reported as follows :
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/animation/AnimatorCompatHelper;
The simple method is to set
mRecyclerView.setItemAnimator(null); Can solve
Later, I checked the data and found that
It's because of my android support There is a problem with the package version
The root cause is gradle Declarative RecycleView The way is :
implementation 'com.android.support:recyclerview-v7:24.2.1'
And in the previous definition AppCompat Statement of
implementation 'com.android.support:appcompat-v7:27.1.1'
RecycleView stay support24.2.1 Required in AnimatorCompatHe, and gradle grabbing support The version of the library depends on the previous AppCompat The definition of 27.1.1 edition , This version will AnimatorCompatHe Library removed , This will result in operation RecycleView Time report NoClassDefFoundError Error of , The modification method is to RecycleView hinder support The library version is changed to 27.1.1 again sync gradle No error will be reported after compilation .
边栏推荐
- 1+1 > 2, share creators can help you achieve
- FusionPBX 安装 —— 筑梦之路
- 1016 part a+b (15 points)
- 微信小程序:全局状态变量的使用
- Huawei developer certification and deveco studio compiler Download
- Echart柱状图:echart实现堆叠柱状图
- 【js】var、let、const
- The title of the WebView page will be displayed in the top navigation bar of the app. How to customize
- Time complexity and space complexity
- 不在以下合法域名列表中,微信小程序解决办法
猜你喜欢

二分查找

Echart柱状图:堆叠柱状图显示value

USB 0xc0000011 error

Solutions to common problems in small program development

Echart折线图:多条折线图每次仅展示一条

After clicking the uniapp e-commerce H5 embedded applet, the page prompts "the page iframe does not support referencing non business domain names"
![[solution] camunda deployment process should point to a running platform rest API](/img/ef/5b893e9c315c10db6c1db46b4c3f5a.jpg)
[solution] camunda deployment process should point to a running platform rest API

Echart histogram: echart implements stacked histogram

JVM基础

pthon 执行 pip 指令报错 You should consider upgrading via ...
随机推荐
JVM基础
Pod libwebp error reporting solution
《MATLAB 神经网络43个案例分析》:第10章 离散Hopfield神经网络的分类——高校科研能力评价
AI realizes "Resurrection" of relatives | old photo repair | old photo coloring, recommended by free app
Alibaba cloud OSS file download cannot be resumed at a breakpoint
AI实现亲人“复活”|老照片修复|老照片上色,免费APP推荐
Wechat applet: click the event to obtain the current device information (basic)
[turn] explain awk (1)__ Awk Basics_ Options_ Program segment parsing and examples
[JS] array flattening
Fusionpbx installation - road to dream
Not in the following list of legal domain names, wechat applet solution
The technical analysis of ERP systems of the two camps in the world has been picked up many times.
[var const let differences]
347. top k high frequency elements heap sort + bucket sort +map
Intelligent digital asset management helps enterprises win the post epidemic Era
Kotlin learning notes (1)
Uniapp mobile terminal uses canvas to draw background convex arc
[solution] camunda deployment process should point to a running platform rest API
动态链接库嵌套样例
Commit specification