On Thu, Sep 24, 2009 at 1:41 PM, Wouter <[email protected]> wrote:
>
> I have no problem with the data mapping and TextViews.

The stack trace and crash you're seeing indicate otherwise.
Unless you're doing something specific in bindView, the adapter
expects each list item layout to be the same. You are overriding
getView and returning different kinds of views, so I would take
another look at that, and make sure that those two kinds of views are
compatible.

> It fully works
> when i don't use a seperatedList adapter..
> So there is problem with this seperatedListAdapter..
> Is there another way i can use to divide my list in sections with
> headers?

I don't know what effect you're trying to achieve, but in general you
can override bindView and/or getView to make each item look exactly
the way you want.

Also, and unrelated to this problem, please don't put your code in the
com.android namespace (you are using "com.android.moviemeter").

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