android - How to use ListView inside Navigation Drawer properly -
i've tried make navigation drawer option menu similar gmail app.
i've used 2 listviews, 1 below other. realized that wrong approach cause if second lv has more items fit on page , user has scroll, user able scroll lv , not entire drawer in gmail app (effect can seen on screenshot). figured, i'll wrap them in scrollview , disable listview scroll, right? wrong. collapsed listviews.
so i'm wondering right approach here? use 1 listview headers/footers in drawer?
to use 1 listview headers/footers in drawer?
imho, yes. can use my mergeadapter
stitch existing listadapters
, plus headers, , put mergeadapter
listview
. or, roll own listadapter
handles row types using getviewtypecount()
, getitemviewtype()
.
Comments
Post a Comment