dimanche 24 avril 2016

How to pre checked a specific item in a list when a listview being created?

I want to pre checked/ pre selected a specific item when a list being created. I use CheckedTextView for the text and checkbox.

For example, I have 3 items, after the list create, I will get a listview. and the second item is already check/tick.

I know how to perform it by using onclick, but what I need is before I click it. some item is already checked.

Thank you




Aucun commentaire:

Enregistrer un commentaire