We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addType<PcStreamDevInfoEntityHead>(R.layout.pc_stream_dev_info_adapter_head_item) addType<PcStreamDevInfoEntityFoot>(R.layout.pc_stream_dev_info_adapter_foot_item) addType<PcStreamDevInfoEntity>(R.layout.pc_stream_dev_info_adapter_item) onBind { when (itemViewType) { xxxxxxxxxxxxxx } .models = source mDataBind.recyclerView.bindingAdapter.run { addHeader(PcStreamDevInfoEntityHead()) addFooter(PcStreamDevInfoEntityFoot()) } //刷新 val newList: MutableList<PcStreamDevInfoEntity> = mutableListOf() newList.addAll(source) newList.add( PcStreamDevInfoEntity( id, "$id", coverUrl = "https://img2.huashi6.com/images/resource/2020/07/12/h82924904p0.jpg" ) ) mDataBind.recyclerView.setDifferModels(newModels = newList) source.clear() source.addAll(newList)
由于本项目参与者的技术及精力有限无法满足大部分开发者的需求, 欢迎开发者参与贡献
The text was updated successfully, but these errors were encountered:
fork 530l@d67860c
Sorry, something went wrong.
能bug录屏吗?
No branches or pull requests
描述
理由
参考实现
是否可以参与实现
The text was updated successfully, but these errors were encountered: