title: How to get text from TextInputLayout in Kotlin?
body: <p>I have a text input layout with id login_mobile_number, I have imported this module to stop using <code>findViewById</code> methods:</p>
  
  <pre><code>import kotlinx.android.synthetic.main.activity_login.*
  </code></pre>
  
  <p>Whenever I try to get text from the TextInputLayout by </p>
  
  <pre><code>val loginMobileNumberString:String = login_mobile_number.editText.toString()
  </code></pre>
  
  <p>It returns the object name instead of the string typed in it like this:</p>
  
  <pre><code>android.support.design.widget.TextInputEditText{dfdb412 VFED..CL. .F...... 0,0-888,136 #7f0800e1 app:id/textInputEditText}
  </code></pre>
  
  <p>Why this is occuring? What is the proper method to get string from that field?</p>