android - How to use ListView inside Navigation Drawer properly -


i've tried make navigation drawer option menu similar gmail app.

enter image description here

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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -