BaseRecyclerViewAdapterHelper icon indicating copy to clipboard operation
BaseRecyclerViewAdapterHelper copied to clipboard

使用BaseNodeAdapter时候,对列表折叠展开,adapter中的data会变化,有没有办法获得全部数据

Open suntaoxy opened this issue 3 years ago • 2 comments

现在对列表的一些操作记录在node数据中,但是当结束操作时,如果列表是折叠的,此时data只有一级node数据,无法获得子节点数据

suntaoxy avatar Dec 08 '20 09:12 suntaoxy

设置数据源的时候记录一份,点击一级或二级数据有变化的时候可以自定义接口暴露给BaseNodeAdapter,adapter设置监听接口,更新数据源

yu893145181 avatar Jul 19 '21 07:07 yu893145181

+1我也有这个问题

1226362423 avatar Jul 19 '22 02:07 1226362423