cre wrote:
> I got to see the error condition with hierarchyviewer. The ListView is
> visible but the TextViews that contain the lines of text are missing
> from the diagram.  That is why the list of items does not appear.

That suggests that the adapter for that list thinks it has no contents
at that point.

In your code from a previous post, you have:

ListView list3 = (ListView) findViewById(R.id.tab3);
list3.setAdapter(ArrayAdapter.createFromResource(
        this, R.array.letters, R.layout.tab_row));

Do you ever:

-- Call setAdapter() on list3 again, perhaps with an empty ArrayAdapter?

-- Have multiple definitions of R.array.letters (e.g., landscape versus
portrait), with one being empty?

-- Manually manipulate the contents of list3's adapter?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training.html

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

Reply via email to