Making ListView In SLideMenu Like YouTube App
I want to emulate this type of Listview in a SlideMenu. I have the SlideMenu working fine. It is a ListFragment. I want to copy this pattern like the YouTube app on Android: I
Solution 1:
Maybe you need a couple pools of convertView in adapter? BaseAdapter contains methods
public int getItemViewType (int position)
and
public int getViewTypeCount ()
You can override it to implement 2 pools of views - one for Headers and another one for Items of listView. Also in this case you need to change you getView method according to itemViewType, returned by getItemViewType().
Post a Comment for "Making ListView In SLideMenu Like YouTube App"