Hello

Ok. So I appreciate the help.  Here is the summary:

            for (int i=0;i<count;i++) {
                // If it is the 2nd or 5th item, tag it so that it will be
displayed in blue.
                if (i==2 || i==5) {
                        listCount = adapter.getCount();
                        count = theList.getCount();
                        fooString = (String) theList.getItemAtPosition(i);
                                Log.d(TAG, "position "+i+"has string "+ 
fooString);
//                      fooView = (TextView) theList.getChildAt(i);
//                              Log.d(TAG, "position "+i+"has  view id 
"+fooView.getId());
                        
//                      fooView.setTag(99);
                }
                
This code will work.  The stuff that is commented out pertaining to
getChildAt does not.  I'll try to get that working.  I suspect it will
not work since the view is not up and running yet.  As it is now, it
will crash when the getChild call is made.

Thanks for the help, this is becoming more clear. Pity the docs were
not more clear. "returns the data" is so generic.

-- 
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