Monday, 15 April 2013

java - Set a background color to a selected ListView Item programatically -



java - Set a background color to a selected ListView Item programatically -

there many questions , answers explaining how set background color of selected listview item using adapter , selector.

when list view item is selected want define background color have for time beingness selected , want have different colors different items.

using onitemselectedlistener did not work, doing @ stage late.

java android listview layout

No comments:

Post a Comment