Monday, November 21, 2011

Re: [android-developers] android builtin listview widget and fixed headers

On Mon, Nov 21, 2011 at 1:19 AM, Dav <sweetcharan@gmail.com> wrote:
> I was trying to go through the code of android listview . core/java/
> android/widget/HeaderViewListAdapter.java core/java/android/widget/
> ListView.java
>
> Its bit difficult to figure out how exactly the items go below the
> header when you are scrolling,how exactly the headerview remains
> fixed . Can anyone give a brief explanation of it ?

The header view does not remain fixed. The header view is simply a row
of the list that is not supplied by your adapter, appearing above all
other rows.

> I am trying to build fixed headers both vertically and horizontally
> for a custom listview.

ListView does not scroll horizontally.

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

Warescription: Three Android Books, Plus Updates, One Low Price!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate