what is the difference between extending `ListAdap...
# android
n
what is the difference between extending 
ListAdapter
 and 
RecyclerView.Adapter
?
k
One is for ListView, the other is for RecyclerView
Also not Kotlin specific, so perhaps you might want to start by reading the developer documentation on building Android apps in general
👍 1
i
o
ListAdapter
(the one extending recycler view's adapter, not the old one for
ListView
) removes a lot of boilerplate from regular adapter implementation when not much specific behavior is needed. Also simplifies implementation of diff util callbacks.
n
Thanks, @Olivier Patry for the answer