From 6f317db2e519d249e50ddc6ae4a744f2e73434ca Mon Sep 17 00:00:00 2001 From: jspiner Date: Sat, 16 Feb 2019 17:40:24 +0900 Subject: [PATCH] =?UTF-8?q?addAll=20=ED=95=A8=EC=88=98=EC=9D=98=20?= =?UTF-8?q?=EC=9D=B8=EC=9E=90=EB=A5=BC=20=EB=8D=94=20=EC=B6=94=EC=83=81?= =?UTF-8?q?=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/net/jspiner/ask/ui/base/BaseAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/jspiner/ask/ui/base/BaseAdapter.kt b/src/main/java/net/jspiner/ask/ui/base/BaseAdapter.kt index 0c898fe..4ec697c 100644 --- a/src/main/java/net/jspiner/ask/ui/base/BaseAdapter.kt +++ b/src/main/java/net/jspiner/ask/ui/base/BaseAdapter.kt @@ -19,7 +19,7 @@ abstract class BaseAdapter : RecyclerView.Adapter) { + fun addAll(itemList: List) { val prevSize = dataList.size dataList.addAll(itemList) notifyItemRangeInserted(prevSize, itemList.size)