Home > Mobile >  Help: android RecylerView conflicts of the Item and click on the child controls
Help: android RecylerView conflicts of the Item and click on the child controls

Time:10-04

Everyone a great god, and I use the Android Studio wrote a piece of code, mainly using RecylerView function of folding and unfolding the secondary menu level menu each Item contains a CheckBox, now problems are as follows: the program is running, if you only click on each Item, the secondary menu normal fold, the CheckBox state also didn't change, but if you click the CheckBox, clicking the Item, as the secondary menu expansion fold, the CheckBox state also follow change, feel just like at the same time click the Item and the CheckBox, this is what problem, give advice or comments please god? BaseQuickAdpter adapter,

CodePudding user response:

According to your description, there is no problem, there is only one possibility: a ghost?? And, of course, impossible:
Simplify the code, just leave the checkbox and blank layout, additional logic are deleted, and if there is a problem to simplify the code
  • Related