aboutsummaryrefslogtreecommitdiff
path: root/adapter/README.md
diff options
context:
space:
mode:
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