Typesafe ViewHolder
and ItemViewHolder
for easy basic usage of
RecyclerView
.
Supported platforms: Android.
This modules consists of two ViewHolder
subclasses that make it typesafe,
and easier to use for the common use case which is to bind a ViewHolder
to a
POJO (plain-old Java Object
) or a POKA (plain-old Kotlin Any
).
See the sample to understand how it works.
When using ViewHolder
, use the one from Splitties to get the typesafe one.
See it in action in the sample: DemoAdapter.
implementation("com.louiscad.splitties:splitties-typesaferecyclerview:$splitties_version")