Kotlin how to try/catch a cast

前端 未结 0 648
梦如初夏
梦如初夏 2021-01-27 11:41

I am storing shared preferences value as a HashSet and when retrieving I see the warning about unchecked casting. What is the most simple and what is the safest sol

相关标签:
回答
  • 消灭零回复
提交回复
热议问题