On 24 sep, 22:53, Marco Nelissen <[email protected]> wrote:
> 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.
>

Each list item layout is the same. it uses R.layout.cinema_row!
The weird is it makes my list with headers (when i use
seperatedlistadapter) and when i scroll down, it crashes and gives
this error.
Really will take a look at it, if not i will put my source code here!

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

I have a list of movies with a release date. all the movies with same
date has to be listed under a header with date.. And every list item
has same layout, really don't get it :(
>
> Also, and unrelated to this problem, please don't put your code in the
> com.android namespace (you are using "com.android.moviemeter").

I saw this already when i tried to upload to the android market ;)
--~--~---------~--~----~------------~-------~--~----~
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