[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-13 Thread Beny Koo
Dear Mark, I've to say, that's really AMAZING demo! I've added the code to my project and it seems working perfect. Until last week I found the demo UI has an issue and I cannot resolve it by myself. The situation is following, I bind at least 3 database adapters with section to one listview on

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Michael J
So I'm using a modified version of the SectionedAdapter and it seems to be working quite well. The only issue is that I want to let each section adapter to determine the clickability of it's items. It seems like with the SectionedAdapter, all items except the headers are clickable. How exactly

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Mark Murphy
Michael J wrote: So I'm using a modified version of the SectionedAdapter and it seems to be working quite well. The only issue is that I want to let each section adapter to determine the clickability of it's items. It seems like with the SectionedAdapter, all items except the headers are

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-08 Thread Michael J
You're a genius! I pretty much did exactly what you said and it works perfectly now! BTW, I will be getting at least your Advanced Dev book, if not the Tutorials book as well! On Jul 8, 2:03 pm, Mark Murphy mmur...@commonsware.com wrote: Michael J wrote: So I'm using a modified version of

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
Below is a small portion of the code I'm attempting to do this with. DayView is simply an extention of LinearLayout, and homeLayout is the layout I'm trying to add each DayView to. When I'm debugging with a break inside of the onClick(View v) method, it never breaks. DayView day =

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Mark Murphy
I vaguely recall your earlier thread, so forgive me if I either repeat or contradict myself, assuming I responded... My goal is to have something pretty much exactly like the installed application details page in the Android Market. I need a list of items displayed along with other content

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
So are you saying I need to revert back to my original method of using a ListView with a custom adapter and add my pre-list content Views to the adapter itself? As long as I correctly implement those few methods you mentioned (getViewTypeCount(), getItemViewType(), etc)? On Jul 7, 11:19 am,

[android-developers] Re: ListView inside LinearLayout inside ScrollView

2009-07-07 Thread Michael J
Thanks man, I think that pretty much answers my questions. Now it's up to the implementation. On Jul 7, 11:51 am, Mark Murphy mmur...@commonsware.com wrote: So are you saying I need to revert back to my original method of using a ListView with a custom adapter and add my pre-list content