title: How to get parameter from view in onclick function in kotlin?
body: <p>I have an Android app developed in Kotlin(in AndroidStudio). In each element of RecyclerView I have a button with onclickFunction and I want to use a value from that element's view (precisely: "id" column of database table row, which give data to that element of RecycleView, which I already put in invisible textView) but how can I access it in onclick function?</p>
  
  <p>So for example, I have RecyclerView element for data from database with Id=0, so for it's button I want to pass this 0 as parameter.</p>