Hey guys on my Adapter ViewHolder.bind I have to check if some value is true, then check my checkbox. The problem is I cant use setCheck(tru) cause in kotlin doesnt apear.
Try this
To check the Checkbox
use do this
holder.checkBox!!.isChecked=true
And to uncheck Checkbox
do this
holder.checkBox!!.isChecked=false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With