How to check outside the companion object if a lateinit var inside a companion object is initialized

后端 未结 0 1293
闹比i
闹比i 2020-12-05 23:34

How do I check if the variable inside companion object is initialized when an instance of MyClass is created?

class MyClass
{
    companion objec         


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