- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 关于Kotlin出现Incremental annotation processing requested,
昨天使用kotlin开发项目,原本都好好的、今天打开项目,好家伙,直接给我出现: ncremental annotation processing requested, but support is disabled because the following processors are not incremental: android.databinding.annotationprocessor.ProcessDataBinding 于是查找原因: 发现是 kotlin-gradle-plugin
2021-07-24 11:51:14
740
1
原创 RecycleView根据SpanSizeLookup实现复杂布局(不用嵌套)
效果如下: 我们知道实现recyclerview复杂布局,可以用recyclerview嵌套可以实现。 但是这种镶套有个问题,就是太浪费recycleView 本文主要说可以根据布局管理器GridLayoutManager的setSpanSizeLookup方法来动态控制 看下setSpanSizeLookup源码: /** 设置源获取适配器中每个item占用的跨度数。 * Sets the source to get the number of spans occupied
2021-07-12 16:08:08
991
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅