samedi 5 mai 2018

Android studio Check boxes check a different box that the one called

I have one weird problem:

I have 8 checkboxes in a layout one on top of the other...

The problem is when i call one of the checkboxes for example: morningyoga.setChecked(true);

Well than the wrong checkbox gets checked instead of morningyoga i get checked eveningyoga box...

Have no idea whats going on i checked all the code a million time all the views are defined correctlly and everything, Id s in the layout file are all setup correct so the obvious mistakes are cleared for sure.

Anyone ran into this problem?




Aucun commentaire:

Enregistrer un commentaire