aboutsummaryrefslogtreecommitdiff
path: root/adapter/README.md
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-12-10 22:17:28 -0500
committerGitHub <noreply@github.com>2017-12-10 22:17:28 -0500
commit1269a026da6a4597f7123e310768e3377e8c63e8 (patch)
tree2a04154b8a05154ef3b1a427cf4c328c6a30ce8b /adapter/README.md
parent63f7797e42972f5a56f9f50960074b02e1b6dd51 (diff)
downloadkau-1269a026da6a4597f7123e310768e3377e8c63e8.tar.gz
kau-1269a026da6a4597f7123e310768e3377e8c63e8.tar.bz2
kau-1269a026da6a4597f7123e310768e3377e8c63e8.zip
fix/lint (#110)
* Remove nullability to match fastadapter * Remove redundant override
Diffstat (limited to 'adapter/README.md')
-rw-r--r--adapter/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/README.md b/adapter/README.md
index 7df9713..a6ffb6d 100644
--- a/adapter/README.md
+++ b/adapter/README.md
@@ -7,7 +7,7 @@ Collection of kotlin bindings and custom IItems for [Fast Adapter](https://githu
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(it) }`
+The ViewHolder lambda is typically of the form `::ViewHolder`
Where you will have a nested class `ViewHolder(v: View) : RecyclerView.ViewHolder(v)`
## IItem Templates