/**
* Procedure meant to remove a list of Generic Layout Implementation items on this adapter's data set.
* @param items the list of Generic Layout Implementation items to be removed.
* See {@link IGenericRecyclerViewLayout} for more information.
*/
@UiThread
public void remove(@NonNull final List<IGenericRecyclerViewLayout> items) {
final List<IGenericRecyclerViewLayout> newList
= new ArrayList<>(mPendingUpdates.isEmpty() ? mDataSet : mPendingUpdates.peekLast());
if (!newList.isEmpty() && !items.isEmpty()) {
newList.removeAll(items);
updateList(newList);
}
}
GenericMultipleLayoutAdapter.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:gmlrva
作者:
评论列表
文章目录