So I started watching an android development using kotlin course. The guy explaining uses "R" without explaining anything about it. I tried searching the documentation but could not find anything.
here is a sample code:
when(...) { ...
R.id.btn9 -> btnID=9 // where btn9 is an id of a button in the UI
}