title: In Kotlin, how to make a property accessible by only specific type
body: <p>Lets say I have a Kotlin class similar to this:</p>
  
  <pre><code>class MyKotlinExample {
      val mMyString = MutableLiveData&lt;String&gt;()
  }
  </code></pre>
  
  <p><code>MutableLiveData</code> extends <code>LiveData</code> however I don't want to expose <code>MutableLiveData</code> to other classes. They should only see/access <code>LiveData&lt;String&gt;</code> as my special <code>String</code></p>
  
  <p>Is it possible, and/or good/advised etc?</p>