Answer the question
In order to leave comments, you need to log in
GridView, custom adapter and multi-selection?
I have a GridView. Each of its cells is a custom View, which is processed by a custom adapter. You need to make it possible to select multiple items. I don’t want to do checkboxes, I want that when you click on a cell, the cell changes color. It seems that I met that you can set 3 drawable resources for such a case for different states. But now I just can’t find where I met it ... Either I misunderstood something then. Poke your nose, please, how is it done?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question