Code example for HeaderViewListAdapter

Methods: getWrappedAdapter

0
     */ 
    public static void addQuickActionToList(final ListView list,final ActionItem []actions,final int vid) {
        ListAdapter la = list.getAdapter();
        if(la instanceof HeaderViewListAdapter) {
            HeaderViewListAdapter hvla =(HeaderViewListAdapter)la;
            la = hvla.getWrappedAdapter();
        } 
        System.out.println("la="+ la);
        final BaseAdapter adapter = (BaseAdapter)la;
        LocalSocialAdapter temp = null;
        if(adapter instanceof LocalSocialAdapter) {
            temp = (LocalSocialAdapter)adapter;
             
        } 
        final LocalSocialAdapter lsa = temp;
        list.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            public void onItemClick(AdapterView<?> parent, View view, int id, long position) {
                 
                QuickAction mQuickAction = new QuickAction(view);
                Object known;