[android-developers] Re: Is it possible to format individual row items of a list on Selection?

2010-09-25 Thread Kumar Bibek
Sure. You can do it in the getView method of the Adapter class. -Kumar Bibek http://techdroid.kbeanie.com On Sep 25, 11:15 am, Samuh samuh.va...@gmail.com wrote: If a data row of my list contains a TextView and a Button, is it possible to format those components individually when the List row

[android-developers] Re: Is it possible to format individual row items of a list on Selection?

2010-09-25 Thread Streets Of Boston
Yep. Make sure that the items (the things returned by your adapter's getItem(int position) method) contain a boolean that determines whether one list-item is selected or not. E.g. 'isSelected=true'. In your list-view' onItemSelected listener, do a adapter.getItem(position) to get hold of the