Skip to content

Commit

Permalink
Update function example in ReadMe
Browse files Browse the repository at this point in the history
  • Loading branch information
iFanie committed Nov 15, 2018
1 parent a1bd2f1 commit d0c05d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MainAccordionAdapter : AccordionRecyclerAdapter<ColorViewHolder<out ColorD

}

override fun updateViewHolder(position: Int, viewHolder: ColorViewHolder<out ColorData>, data: ColorData?, immediateEnclosedItemsSum: Int, totalEnclosedItemsSum: Int, overallPosition: AccordionRecyclerPosition, enclosedPosition: AccordionRecyclerPosition) {
override fun updateViewHolder(position: Int, viewHolder: ColorViewHolder<out ColorData>, data: ColorData?, details: AccordionRecyclerItemDetails) {
when (viewHolder) {

is RedViewHolder -> viewHolder.apply { ... }
Expand Down

0 comments on commit d0c05d9

Please sign in to comment.