[英]Is it possible to use DIffUtil/AsyncListDiffer with other Collection than List?
我目前正在將 DiffUtil/AsyncListDiffer 與List集合一起使用。 我正在使用通用適配器/recyclerview/ViewHolder 實現。 項目是List<Uri>
。
我可以使用LinkedHashSet而不是 List 嗎? 另外,如果是,這是一個重大變化嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.