Skip to content

Releases: CymChad/BaseRecyclerViewAdapterHelper

3.0.2

28 Mar 13:59
Compare
Choose a tag to compare

Fix: #3082 "===" bug

Add:

  • new Class BaseBinderAdapter, Multi-layout please use this first

  • new method setList(), setNewInstance()

  • setNewData(), replaceData() is Deprecated

3.0.1

28 Feb 10:28
Compare
Choose a tag to compare

fix #3061

3.0.0

25 Feb 13:15
Compare
Choose a tag to compare

fix #3001
fix #3046
fix #3032

Add method removeEmptyView();
Add method getItemOrNull();
Add annotation;
Optimization code;

Change convert(helper: VH, item: T?) to convert(helper: VH, item: T);
Change convert(helper: VH, item: T?, payloads: List<Any>) to convert(helper: VH, item: T, payloads: List<Any>);

升级适配:
kotlin
将所有convert(helper: VH, item: T?) 中的可空数据item,变更为convert(helper: VH, item: T)不为空数据,
也就是将问号?)去掉。

java
同样将convert()item@Nullable注解改为@NotNull

3.0.0-beta11

08 Jan 08:11
Compare
Choose a tag to compare

fix BaseProviderMultiAdapter bug

3.0.0-beta10

07 Jan 17:19
Compare
Choose a tag to compare

add getViewByPosition() #3026

change BaseItemProvider:
1、change onCreateViewHolder(parent: ViewGroup, viewType: Int)
2、change onViewHolderCreated(viewHolder: BaseViewHolder, viewType: Int)
3、add getItemProvider(viewType: Int)

适配:BaseItemProvider中的onCreateViewHolder()onViewHolderCreated()增加新的参数,重写此方法的需要进行修改

3.0.0-beta9

06 Jan 08:46
Compare
Choose a tag to compare

Change method to property of Kotlin.

getEmptyLayout() -> emptyLayout

getFooterViewPosition() -> footerViewPosition
getFooterLayoutCount() -> footerLayoutCount
getFooterLayout() -> footerLayout

getHeaderViewPosition() -> headerViewPosition
getHeaderLayoutCount() -> headerLayoutCount
getHeaderLayout() -> headerLayout

3.0.0-beta8

06 Jan 03:35
Compare
Choose a tag to compare

fix #3021

clean code

3.0.0-beta7

03 Jan 08:01
Compare
Choose a tag to compare

fix node data settings bug

3.0.0-beta6

02 Jan 17:17
Compare
Choose a tag to compare

fix #3017
add nodeAddData();
add nodeRemoveData()

fix #3019
fix #3012
fix #3016
add getFooterLayout()
add getHeaderLayout()

add method remove(data)

3.0.0-beta5

30 Dec 06:36
Compare
Choose a tag to compare