I'm looking for suggestions on how to go about adding a ListView
selector that is 'permanent'. By this, I mean a single row in the ListView
is always highlighted; it should move up or down in reponse to any D-pad presses (i.e. like the default selector) but also remain set/highlighted if the user were to scroll the ListView
in either direction (i.e. it's still highlighted even when it's off-screen).
I've looked at using the standard selector mechanism, but am unable to get the selector to remain in place if the ListView
is touched (and thus scrolled), so it makes me think that this isn't the best option? Perhaps there's a <selector>
"state_*
" that I've ignored?
The other option would be to use the onItemSelected()
callback, but at first look this appears more convoluted?
Any suggestions/recommendations/experiences gratefully receieved.
Cheers
James