Does java nullable returned value can be assign to Kotlin Non-Nullable variable?

后端 未结 0 900
感动是毒
感动是毒 2020-11-30 21:04

I\'m very surprise that the following code is compiled:

    lateinit var progressBar: ProgressBar

and in onCreate:

           


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