codelab-android-room-with-a-view icon indicating copy to clipboard operation
codelab-android-room-with-a-view copied to clipboard

Step 12 Kotlin has an error in ListAdapter declaration

Open Jearil opened this issue 3 years ago • 0 comments

The class definition needs to be changed to:

class WordListAdapter : ListAdapter<Word, WordListAdapter.WordViewHolder>(WordsComparator()) {

Currently, ListAdapter is defined by ListAdapter<Word, WordViewHolder>(WordsComparator()) which leads to an undefined reference.

Jearil avatar Aug 03 '21 22:08 Jearil