From e6ec9c5dd677be298430cb2b694f047c67b03239 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 9 Jul 2017 11:28:59 -0700 Subject: 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 --- adapter/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 adapter/README.md (limited to 'adapter') 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 -- cgit v1.2.3