[android-developers] Re: getView what the arguments means?

2010-12-01 Thread kiros88
Well okay so my main purpose to asking was in my app i wanted the user to be able to select the textview from the listview and once the user touches it the text changes colors. but i want also that if the user touches a new text the original one he touch goes back to the original color while the

[android-developers] Re: getView what the arguments means?

2010-12-01 Thread hoyski
ArrayAdapter is a bridge between all of the items that can potentially be displayed (the items in your array) and those currently on the screen. Only the ones on the screen need to have View objects. getView() is an optimization method that allows you to reuse previously constructed Views as items