title: Kotlin: Check which button was clicked
body: <p>I have 3 buttons that call the same method, within the method I'd like to be able to retrieve either the button's text or ID.</p>
  <p>Is there something like this?</p>
  <pre><code> fun getButtonID(view: View) {
  
          var buttonTxt = this.getText
          Log.d(&quot;DEV&quot;, &quot;${buttonTxt}&quot;)
  
      }
  </code></pre>