aboutsummaryrefslogtreecommitdiff
path: root/adapter
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-06-17 23:35:08 -0700
committerAllan Wang <me@allanwang.ca>2019-06-17 23:35:08 -0700
commit80b303819d18c3c34c4071f352134b3048768805 (patch)
tree928de20fe68b37b1b80d8b926327d4afbf6f04d2 /adapter
parent8725ae5647e15a38281ca6778b33413490dff91b (diff)
downloadkau-80b303819d18c3c34c4071f352134b3048768805.tar.gz
kau-80b303819d18c3c34c4071f352134b3048768805.tar.bz2
kau-80b303819d18c3c34c4071f352134b3048768805.zip
Separate adapter from fastadapter
Diffstat (limited to 'adapter')
-rw-r--r--adapter/README.md16
-rw-r--r--adapter/build.gradle3
-rw-r--r--adapter/src/main/res/values/dimens.xml3
3 files changed, 1 insertions, 21 deletions
diff --git a/adapter/README.md b/adapter/README.md
index a6ffb6d..f3beaff 100644
--- a/adapter/README.md
+++ b/adapter/README.md
@@ -1,20 +1,6 @@
# KAU :adapter
-Collection of kotlin bindings and custom IItems for [Fast Adapter](https://github.com/mikepenz/FastAdapter)
-
-## KauIItems
-
-Abstract base that extends `AbstractIItems` and contains the arguments `(layoutRes, ViewHolder lambda, idRes)` in that order.
-Those variables are used to override the default abstract functions.
-If a layout is only used for one item, it may also be used as the id, which you may leave blank in this case.
-The ViewHolder lambda is typically of the form `::ViewHolder`
-Where you will have a nested class `ViewHolder(v: View) : RecyclerView.ViewHolder(v)`
-
-## IItem Templates
-
-* CardIItem - generic all encompassing card item with a title, description, imageview, and button.
-All items except for the title are optional.
-* HeaderIItem - simple title container with a big top margin
+Helpers dealing with recyclerviews and adapters
## KauAnimator
diff --git a/adapter/build.gradle b/adapter/build.gradle
index de42b6c..42c6eba 100644
--- a/adapter/build.gradle
+++ b/adapter/build.gradle
@@ -4,9 +4,6 @@ apply from: '../android-lib.gradle'
dependencies {
implementation project(':core')
-
- api kau.Dependencies.fastAdapter
- api kau.Dependencies.fastAdapterCommons
}
apply from: '../artifacts.gradle'
diff --git a/adapter/src/main/res/values/dimens.xml b/adapter/src/main/res/values/dimens.xml
deleted file mode 100644
index 193940e..0000000
--- a/adapter/src/main/res/values/dimens.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-<resources>
- <dimen name="kau_color_circle_size">56dp</dimen>
-</resources>