You just implement GenericAdapterViewModel and ove...
# codereview
g
You just implement GenericAdapterViewModel and override buildView and bindViewHolder, sealed classes lend themselves nicely to this kinda of thing. Pair it with Anko and awayy you go
o
Relying on hash code isn't safe for view type IMO.
g
It is overridable if people want to use something more specific