Is it possible to use Sealed Class in DiffUtil, if...
# android
m
Is it possible to use Sealed Class in DiffUtil, if yes what could be a proper implementation of it .. the purpose is to have a different types of ViewHolders
g
Why not? Sealed class is a class as any other, just use
when
to compare only matching types
m
👍