diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-09 11:28:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-09 11:28:59 -0700 |
commit | e6ec9c5dd677be298430cb2b694f047c67b03239 (patch) | |
tree | f0bc2a630c9335b608ac9076ca868f5a5658c75c /adapter/README.md | |
parent | 0af8b379fc0968c830c8938e1998b5bd3dd7e0aa (diff) | |
download | kau-e6ec9c5dd677be298430cb2b694f047c67b03239.tar.gz kau-e6ec9c5dd677be298430cb2b694f047c67b03239.tar.bz2 kau-e6ec9c5dd677be298430cb2b694f047c67b03239.zip |
KAU 2.0 (#1) - Update docs and finish up refractoring
* Update readme
* Add docs for remaining submodules
* Update searchview
* Update links 1/3
* Update links 2/3
* Update links 3/3
* update changelog
* Update readme
* Test rename to readme
* Rename remaining to readme
* Link readme to repo
Diffstat (limited to 'adapter/README.md')
-rw-r--r-- | adapter/README.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/adapter/README.md b/adapter/README.md new file mode 100644 index 0000000..6d59777 --- /dev/null +++ b/adapter/README.md @@ -0,0 +1,11 @@ +# KAU :adapter + +Collection of kotlin bindings and custom IItems for [Fast Adapter](https://github.com/mikepenz/FastAdapter) + +## KauIItems + +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(it) }` +Where you will have a nested class `ViewHolder(v: View) : RecyclerView.ViewHolder(v)`
\ No newline at end of file |