Your Second Kotlin Android App - Part 11: Shared

Hi,

The readLists function in ListDataManager (chapter 8) causes a “Unchecked cast Any? to kotlin.collections.HashSet” warning in:
val itemsHashSet = ArrayList(taskList.value as HashSet)
What is the best way to deal with that?