title: How set variable from object in another class
body: <p>I have some class(AppCompatActivity), object and lateinit var in this object.
  I get some value in class and need to initialize this lateinit var in object
  How can i do that?
  Tried:</p>
  
  <hr>
  
  <p>in class:</p>
  
  <hr>
  
  <p>ObjectName.varName = varFromClass</p>