石朝辉
石朝辉
`BaseMultiItemQuickAdapter` 新增函数用来删除指定 Item 的 subItem 。
> 希望adapter可以返回onBindViewHolder中的List payloads参数,用来实现item中某个控件的刷新 最新版本 [v2.9.47](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/releases) 已经加入了 DiffUtil 做局部刷新,具体使用方式参考 [DiffUtilActivity](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/app/src/main/java/com/chad/baserecyclerviewadapterhelper/DiffUtilActivity.java)
> 允许使用ButterKnife在adapter里面进行控件view的初始化 > @BindView(R.id.title) TextView name; > @BindView(R.id.job_title) TextView jobTitle; @Brainbg 不需要 Adapter 提供支持。 ButterKnife 可以绑定 View 到任意对象,只要自定义 ViewHolder 就行了: ``` class MyViewHolder extends BaseViewHolder { @BindView(R.id.tv) TextView tv; public...
`SpanSizeLookup`的处理不合理。 `BaseQuickAdapter#onAttachedToRecyclerView()` 函数中给 manager 设置了 `SpanSizeLookup`,导致在 `setAdapter()` 之前 `manager.setSpanSizeLookup()` 的值被覆盖导致无效。 目前的错误的写法: ```java gridManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { @Override public int getSpanSize(int position) { ... if (mSpanSizeLookup == null) { return isFixedViewType(type) ?...
上 jitpack.io 搜索了一下,正确的依赖是这样的: ``` implementation 'com.github.wendux:dsbridge-android:x5-3.0-SNAPSHOT' ```
Sorry. The default is the current month, and there is no API to modify the default.
这个项目比较老了,没维护,实现的效果和实现方式都不太好。你可以尝试使用 RecyclerView+GridLayout+LinearSnapHelper 实现分页效果(参考[EasyCalendar](https://github.com/shichaohui/EasyCalendar)),或者使用其他的一些库。
If you want the height of the calendar to be the same,you should use `calendarView.setScaleEnable(false);`
The height of date is dynamic calculation by calendar's width. You can set monthBackground to CanlendarView for resolve separator like [activity_action](https://github.com/shichaohui/EasyCalendar/blob/master/example/src/main/res/layout/activity_action.xml)
You should set wrap_content to the height of CanlendarView. `android:layout_height="wrap_content"`