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, "Mark Murphy" <[email protected]> wrote: > 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 above the list, and would > > like the content above to scroll up along with the list (exactly like > > the application details does for the "My Review" and other descriptive > > info). > > I would suspect that is a top-level LinearLayout, containing a > RelativeLayout for the logo/name/vendor/install status/rating, a ListView > for all the scrolling stuff, and a LinearLayout for the Open and Install > buttons. > > > Due to responses to my previous posts, I came to believe that it > > really wasn't possible to do this with a ListView. > > Not the whole thing, but certainly the scrolling portion can be a > ListView. I'd be a bit surprised if it were done any other way. > > The key is getViewTypeCount(), getItemViewType(), areAllItemsEnabled(), > and isEnabled() in your ListAdapter, plus returning appropriate views per > row in the list. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com > Android App Developer Books:http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

