You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data class CommentWrapBean(var comment: String?) : ExpandableStatusFix {
private var status: StatusType? = null
override fun getStatus(): StatusType? {
return status
}
override fun setStatus(status: StatusType) {
this.status = status
}
}
val commentView = holder.getView<ExpandableTextView>(R.id.etv_comment)
val commentWrapBean = CommentWrapBean(item.content)
commentView.bind(commentWrapBean)
commentView.setContent(commentWrapBean.comment)
如题
版本是:v1.6.1-x
如下,按照源码注释加了必要的逻辑,但不起作用。(Demo 中是可以保留状态的,好奇用的哪个版本,或者我哪里写错了?)
源码注释:
The text was updated successfully, but these errors were encountered: