Radio Button setOnClickListener does not run completely
I am working on a mobile app in which I have used the radio buttons. The strange thing is that the radio button's setOnClickListener does not run complete code. Here is the code of my radio Button
radioButtonWeekly.setOnClickListener {
btnSelectWeek.isEnabled = true
btnSelectWeek.setBackgroundColor(Color.WHITE)
btnSelectMonth.isEnabled = false
btnSelectMonth.setBackgroundColor(Color.GRAY)...