From 51cd6784331915a2caf66611294d25e58145d127 Mon Sep 17 00:00:00 2001 From: iFanie Date: Wed, 14 Nov 2018 00:10:28 +0200 Subject: [PATCH] Cleanup code and add installation in readMe --- README.md | 2 +- accordionrecycler/src/main/AndroidManifest.xml | 3 +-- .../com/izikode/izilib/accordionrecyclerdemo/data/ColorData.kt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d31025c..cfe87aa 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ RecyclerView adapter with nested items & expand/contract functionality ## Installation ``` -coming +implementation 'com.izikode.izilib:accordionrecycler:0.1' ``` ## Usage #### Have your Model Classes implement the ```AccordionRecyclerData``` interface. diff --git a/accordionrecycler/src/main/AndroidManifest.xml b/accordionrecycler/src/main/AndroidManifest.xml index 43deffe..aa2704e 100644 --- a/accordionrecycler/src/main/AndroidManifest.xml +++ b/accordionrecycler/src/main/AndroidManifest.xml @@ -1,2 +1 @@ - + diff --git a/app/src/main/java/com/izikode/izilib/accordionrecyclerdemo/data/ColorData.kt b/app/src/main/java/com/izikode/izilib/accordionrecyclerdemo/data/ColorData.kt index 8c5bae9..f4832e9 100644 --- a/app/src/main/java/com/izikode/izilib/accordionrecyclerdemo/data/ColorData.kt +++ b/app/src/main/java/com/izikode/izilib/accordionrecyclerdemo/data/ColorData.kt @@ -4,7 +4,7 @@ import com.izikode.izilib.accordionrecycler.AccordionRecyclerData abstract class ColorData( - override var viewType: Int, + override val viewType: Int, override var enclosedDataArray: Array>? = null ) : AccordionRecyclerData {