Chapter 8 unchecked cast warning


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?

@daemonic_daz Can you please help with this when you get a chance? Thank you - much appreciated! :]