This has to do with "list item view recycling".

http://android-er.blogspot.com/2010/06/using-convertview-in-getview-to-make.html

-- Kostya

01.12.2010 21:19, kiros88 пишет:
So basically on the function getView. I had a question im not sure
about whats the argument "View convertView" for the middle? is taht
suppose to be a default view or iono?

On Nov 30, 9:01 pm, TreKing<treking...@gmail.com>  wrote:
On Mon, Nov 29, 2010 at 12:48 PM, kiros88<ghui...@gmail.com>  wrote:
Im assuming the array adapter or adapterView parent
is like a basic array that creates an array of textviews if thats what
you want to create with your listviews.
That's the gist of it.

I'm just checking if thats right becuase my main questions is how to access
the seperate textviews in the array.
Generally, you don't - at least not until you need to. When they're going to
be drawn, you'll have this method called on your adapter:

http://developer.android.com/reference/android/widget/Adapter.html#ge...

There you create or update the view as necessary.

i got this method from the android library getDropDownView but im not sure
if thats the method i want to use for this instance.
Probably not.

--------------------------------------------------------------------------- 
----------------------
TreKing<http://sites.google.com/site/rezmobileapps/treking>  - Chicago
transit tracking app for Android-powered devices


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to