title: Correct way of implementing LiveData
body: <p>In the Android docs it shows an example creating a LiveData object as follows:</p>
  
  <pre><code>val currentName: MutableLiveData&lt;String&gt; by lazy {
          MutableLiveData&lt;String&gt;()
  }
  </code></pre>
  
  <p>But I have seen code elsewhere that shows it like this:</p>
  
  <pre><code>val currentName: MutableLiveData&lt;String&gt; = MutableLiveData()
  </code></pre>
  
  <p>Both of these are located in the viewmodel. In the second example, the LiveData model is instantiated when the class is created whereas in the first example, it is only instantiated when the object is first used.</p>
  
  <p>Are both of these cases valid?</p>