Group Group Group Group Group Group Group Group Group

Chapter 8 unchecked cast warning

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?
TIA