title: Kotlin /Android Studio error : Required Editable! found String?
body: <p>Hi there i am very very new to programming but this is the error I am getting. Here is my code...</p>
  
  <pre><code>override fun onRestoreInstanceState(savedInstanceState: Bundle?) {
      super.onRestoreInstanceState(savedInstanceState)
      val savedString = savedInstanceState?.getString(TEXT_CONTENTS, "")
      editText2?.text = savedString
  }
  </code></pre>
  
  <p>The final savedString expression I am getting the error "Required Editable! found String?"</p>