如何获取 ListAdapter<Model,ViewHolder::class> 的列表

how to get the list of ListAdapter<Model,ViewHolder::class>

是否有可能在我的列表适配器中获取项目列表,因为访问列表的唯一方法是 submitList()

Call getCurrentList()。引用文档:

Get the current List - any diffing to present this list has already been computed and dispatched via the ListUpdateCallback. If a null List, or no List has been submitted, an empty list will be returned.