Mark, I never call setAdapter() anywhere but in onCreate. There is only a single definition in array.xml. I do not manually manipulate the content of list3's adapter.
What happened to List3 happens to List1 and List2 at random and on occasion more than one list will disappear. Is there a way to test for this condition and manually update the list adapters? On May 1, 6:45 am, Mark Murphy <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---

