From d0c05d94651edbafcd390ebd79b657f1b606b6b3 Mon Sep 17 00:00:00 2001 From: iFanie Date: Thu, 15 Nov 2018 21:49:56 +0200 Subject: [PATCH] Update function example in ReadMe --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c0c75f..6191690 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ class MainAccordionAdapter : AccordionRecyclerAdapter, data: ColorData?, immediateEnclosedItemsSum: Int, totalEnclosedItemsSum: Int, overallPosition: AccordionRecyclerPosition, enclosedPosition: AccordionRecyclerPosition) { + override fun updateViewHolder(position: Int, viewHolder: ColorViewHolder, data: ColorData?, details: AccordionRecyclerItemDetails) { when (viewHolder) { is RedViewHolder -> viewHolder.apply { ... }