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

2011-11-22 Thread Dav
I understand that i have to implement my own custom listivew to enable
both horizontal and vertical scrolling . But here i need to freeze
some of the columns "say i am trying to develop a cross table
widget" . I am looking for ideas here how to fix the header and scroll
the items in the table. Fix /freeze the left most column and able to
scroll the columns horizontally .

I will be implementing my own recycling logic for efficiency /reuse of
views.

Thanks,
dav.

On Nov 21, 6:01 pm, Mark Murphy  wrote:
> On Mon, Nov 21, 2011 at 1:19 AM, Dav  wrote:
> > I was trying to go through the code of androidlistview. 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
> >headerwhen you are scrolling,how exactly the headerview remains
> >fixed. Can anyone give a brief explanation of it ?
>
> Theheaderview does not remainfixed. Theheaderview is simply a row
> of the list that is not supplied by your adapter, appearing above all
> other rows.
>
> > I am trying to buildfixedheaders both vertically and horizontally
> > for a customlistview.
>
> ListViewdoes not scroll horizontally.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2011-11-22 Thread Mark Murphy
There was another developer on this list in the past few months
attempting to pull off the same thing, with several posts along the
way. You might search the archives to find those.

On Tue, Nov 22, 2011 at 5:23 AM, Dav  wrote:
> I understand that i have to implement my own custom listivew to enable
> both horizontal and vertical scrolling . But here i need to freeze
> some of the columns "say i am trying to develop a cross table
> widget" . I am looking for ideas here how to fix the header and scroll
> the items in the table. Fix /freeze the left most column and able to
> scroll the columns horizontally .
>
> I will be implementing my own recycling logic for efficiency /reuse of
> views.
>
> Thanks,
> dav.
>
> On Nov 21, 6:01 pm, Mark Murphy  wrote:
>> On Mon, Nov 21, 2011 at 1:19 AM, Dav  wrote:
>> > I was trying to go through the code of androidlistview. 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
>> >headerwhen you are scrolling,how exactly the headerview remains
>> >fixed. Can anyone give a brief explanation of it ?
>>
>> Theheaderview does not remainfixed. Theheaderview is simply a row
>> of the list that is not supplied by your adapter, appearing above all
>> other rows.
>>
>> > I am trying to buildfixedheaders both vertically and horizontally
>> > for a customlistview.
>>
>> ListViewdoes not scroll horizontally.
>>
>> --
>> Mark Murphy (a Commons 
>> Guy)http://commonsware.com|http://github.com/commonsguyhttp://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+unsubscr...@googlegroups.com
> 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

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

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en