Re: [android-developers] Re: ListView and ListAdapter

2010-05-25 Thread Mark Murphy
John Gaby wrote: I am writing a c++ wrapper for the Java. Oy. In the environment I am talking about, the ListView is created via a call from a c++ module. Double oy. However, on the Java side, I can see the ListView and it's adapter being created. I can see calls to the adapter, and as

Re: [android-developers] Re: ListView and ListAdapter

2010-05-25 Thread Mark Murphy
John Gaby wrote: I don't believe that is the case, since I can set a background color on the ListView, and I can see it at the location and size that was specified. So much for that theory. Also, if I stop using my custom ListAdapter and substitute one that just displays a simple list of

Re: [android-developers] Re: ListView and ListAdapter

2010-05-25 Thread Mark Murphy
John Gaby wrote: Thanks much for your help. The hiearchyviewer is a NICE tool of which I was unaware. Unfortunately it simply shows that my ListView has no children (rows). I believe I have discovered the problem, however, and am able to reproduce it with a pure Java application. It seems

Re: [android-developers] Re: ListView and ListAdapter

2010-05-25 Thread Mark Murphy
John Gaby wrote: I have based my adapter on ListAdapter which does not seem to have a notifyDataSetChanged method. Use BaseAdapter as your base class. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog |