[android-developers] onItemClick(AdapterView? parent, View view,

2010-12-01 Thread kiros88
Okay i dont want to get to many ppl confused so im going to try to ask this very simply. When android goes to this function when a user clicks on a item on your listview. basically u get a parent who im assuming is the array of textview that was set up during the setAdapter phase and view which

Re: [android-developers] onItemClick(AdapterView? parent, View view,

2010-12-01 Thread Prakash Iyer
My 2c - you are over-complicating this.The getView is ONLY to give back the view for the item that is requested. If you want this item to be colored X then do it here. If you want another item to be colored Y then do it when getView is called for that item. The state maintenance, i.e. what is X or