addHeaderView() wraps your ListAdapter with another one that adds the
header. I do not understand your symptoms, and therefore cannot
comment on them.

On Sat, Jul 10, 2010 at 9:55 AM, Hwa Rang Na <[email protected]> wrote:
> I got two kind of lists on 4 different views. All lists are clickable
> and starts an activity to read the clicked record. One is just a
> listview populated from the DB and works fine. The second is also a
> listview populated from a DB but has a addHeaderView. This makes the
> list forget where it was when you return from the listview's intent.
> If I remove the addHeaderView(); it works fine.
>
> Why does AddHeaderView changes or even malfunctions ListView's
> behavior?
>
> --
> 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
>



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

Android App Developer Books: http://commonsware.com/books

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