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 I said, I get a call to the
> getCount and I can see that it returns 3.  I get calls to the other
> methods I mentioned, and they all return the appropriate numbers.
> However, the getView method is never called at all, and the list
> appears empty.

If I had to guess, your ListView is not being added to any parent, so
there is no need for it to ever call getView() on the adapter.

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

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.5 Available!

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