<Smart cast to 'button' is impossible> 'pbutton.se...
# stackoverflow
u
Smart cast to 'button' is impossible 'pbutton.setOnClickListener{ Toast.makeText()} I get an error on 'pbutton' `Smart cast to 'button'is impossible, because'pbutton' is mutable property that could have been changed any time