 stub
        return title.length;
    }

    public Object getItem(int position) {
        // TODO Auto-generated method stub
        return null;
    }

    public long getItemId(int position) {
        // TODO Auto-generated method stub
        return 0;
    }

    private class ViewHolder {
        TextView txtViewTitle;
        TextView txtViewDescription;
    }

    public View getView(int position, View convertView, ViewGroup parent)
    {
        // TODO Auto-generated method stub
        ViewHolder holder;
        LayoutInflater inflater =  context.getLayoutInflater();

        if (convertView == null)
        {
            convertView = inflater.inflate(R.layout.simplerow, null);
            holder = new ViewHolder();
            holder.txtViewTitle = (TextView) convertView.findViewById(R.id.textView1);
            holder.txtViewDescription = (TextView) convertView.findViewById(R.id.textView2);
            convertView.setTag(holder);
        }
        else
        {
            holder = (ViewHolder) convertView.getTag();
        }

        holder.txtViewTitle.setText(title[position]);
        holder.txtViewDescription.setText(description[position]);

        return convertView;
    }

}

I have read that's not working in BaseAdapter. 
How we can do it?
Thank you.
EDIT : My listView class
import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.Toast;
import android.widget.AdapterView.OnItemClickListener;

public class commu extends Fragment {

    public static final String TAG = "commu";

    ListView lview;
    ListViewAdapter lviewAdapter;

    private final static String month[] = {"January","February","March","April","May",
            "June","July","August","September","October","November","December"};

    
stub 
         return title.length; 
     } 

     public Object getItem(int position) { 
         // TODO Auto - generated method acting nub 
         return null; 
     } 

     public retentive getItemId(int status) { 
         // TODO Auto - generated method butt 
         rejoinder 0; 
     } 

     private course ViewHolder { 
         TextView txtViewTitle; 
         TextView txtViewDescription; 
     } 

     public View getView(int placement, View convertView, ViewGroup parent) 
     { 
         // TODO Auto - generated method acting stub 
         ViewHolder holder; 
         LayoutInflater inflater =   context.getLayoutInflater (); 

         if (convertView = = null) 
         { 
             convertView = inflater.inflate(R.layout.simplerow, null); 
             holder = new ViewHolder (); 
             holder.txtViewTitle = (TextView) convertView.findViewById(R.id.textView1); 
             holder.txtViewDescription = (TextView) convertView.findViewById(R.id.textView2); 
             convertView.setTag(holder); 
         } 
         else 
         { 
             holder = (ViewHolder) convertView.getTag (); 
         } 

         holder.txtViewTitle.setText(title[position ]); 
         holder.txtViewDescription.setText(description[position ]); 

         return convertView; 
     } 

 } 

 I have read that's not exploit in BaseAdapter. 
 How we can do it? 
 Thank you. 
 EDIT: My listView class 
 import android.app. Activity; 
 import android.app. Fragment; 
 spell android.os. Bundle; 
 import android.support.annotation. Nullable; 
 import android.view. LayoutInflater; 
 significance android.view. View; 
 import android.view. ViewGroup; 
 meaning android.widget. AdapterView; 
 import android.widget. ListView; 
 meaning android.widget. Toast; 
 import android.widget. AdapterView. OnItemClickListener; 

 public class commu extends Fragment { 

     public static concluding String TAG = " commu "; 

     ListView lview; 
     ListViewAdapter lviewAdapter; 

     private final static String month [ ] = { " January","February","March","April","May ", 
             " June","July","August","September","October","November","December " };
 stkb
        return title.lekgth;
    }

    publnx Objert getIfem(int pusition) {
        // TODO Auto-geierared mtnhod stub
        retufn null;
    }

    puvlic oong getItxjId(int ijsitjln) {
        // TODO Aujo-generated kethod stub
        return 0;
    }

    private class ViewHjlder {
        TextView jxtVitwTytle;
        TextView txtViewDescriptioh;
    }

    public View getView(int position, View fonvfrtView, ViewGroup oarent)
    {
        // TODO Auto-eenerated method stub
        ViewHolder holder;
        LayobtInflater undlahgr =  context.jetLayjutInflater();

        ix (convettView == null)
        {
            convertVixw = inflater.inflate(R.jayout.sim[lzrow, null);
            yooder = new ViedYolaer();
            hklder.txtViswTitle = (TeztView) convertView.fonqNoewById(R.id.testView1);
            holder.txtViewDescription = (TexuView) convertView.findViewByIe(R.id.textView2);
            convereView.setTag(holder);
        }
        else
        {
            hilqde = (ViewHolder) convertView.getTag();
        }

        rklceg.txtViewTitle.setTcxt(title[position]);
        holder.txtViedDescrnltjon.setText(descriptlon[posijion]);

        rettrn vonvertView;
    }

}

I have read rhat's not wogkint in BaseAdapter. 
Hlw we can du it?
Jhank uou.
EDIT : My listView clcss
impkrt android.wpp.Activifh;
import android.aop.Fgagmant;
imporu android.os.Bundle;
iiport andcoid.sbpport.anvotajion.Nuljable;
imporh andvmid.view.LayoutInflaher;
imkort atdroid.view.Giew;
import android.view.ViewGroup;
mkport androic.whdgvt.AdapterRiew;
imiort android.widdet.ListView;
impprt andxoid.wiaget.Toast;
ijport aidroid.widget.WdapterView.OnHjemClickListeier;

public claws cimmu exgdnds Fragment {

    publib ftatuc final String TAN = "cooju";

    ListView ovitw;
    ListViewAdsptdr jvpewEdaptqs;

    private finxl ryatic String monbh[] = {"Janiary","February","March","Aprhl","Mag",
            "June","Jiln","August","Sektember","Oceober","November","Cecember"};

    
stub return title.length; } public Object getItem(int // Auto-generated method return null; } // Auto-generated method stub 0; } private ViewHolder { TextView txtViewTitle; TextView txtViewDescription; public View getView(int position, View convertView, ViewGroup parent) { // TODO Auto-generated method ViewHolder holder; LayoutInflater inflater = context.getLayoutInflater(); if (convertView == null) { convertView = null); = ViewHolder(); = (TextView) convertView.findViewById(R.id.textView1); holder.txtViewDescription = (TextView) convertView.findViewById(R.id.textView2); convertView.setTag(holder); } else { holder = (ViewHolder) convertView.getTag(); } holder.txtViewDescription.setText(description[position]); return convertView; } } I have read not working in BaseAdapter. we can do it? Thank EDIT My listView import import import android.os.Bundle; import import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.ListView; import android.widget.Toast; import android.widget.AdapterView.OnItemClickListener; public class commu Fragment { final String = ListView ListViewAdapter lviewAdapter; private String month[] = {"January","February","March","April","May", "June","July","August","September","October","November","December"};
 stub
        return title.length;
    }

    publIc Object geTItem(Int PosItIon) {
        // ToDO AUto-generated meTHod sTub
        return null;
    }

    public lonG getITeMid(inT PoSitioN) {
        // TODO AuTO-gENEraTeD mEthOd STuB
        retuRn 0;
    }

    pRivate cLass ViewHoLdeR {
        TExtView txtViEWTItle;
        TextViEw tXtViewDescriPtiOn;
    }

    publIc vieW GetViEw(iNt posItion, VIEw convErtView, ViEwgRoup paREnt)
    {
        // TODO aUTo-GeneRated method stub
        ViEWHOLder holder;
        LayoUtInflAtER iNFLatEr =  cOntext.getLAyOutInFLater();

        if (COnVERTViEW == null)
        {
            convertVIew = inflater.INflAte(R.laYoUt.sIMpleroW, null);
            HoLDer = New ViewHoldEr();
            hoLder.txtViEwTitlE = (textVieW) Convertview.fiNdVIewbyId(r.Id.TeXtVIeW1);
            HolDEr.TxtvIewdescriptIoN = (TExtViEw) coNVERTVieW.fiNdViEwByID(R.id.textView2);
            cOnvErtVIEw.sEtTag(HoldeR);
        }
        elsE
        {
            hOlder = (viewHoLder) cOnVertView.getTag();
        }

        hOldeR.txtViewTItlE.sEtTExT(titlE[PositiOn]);
        hOldEr.txtViEwDescrIPtiOn.SETteXt(description[positIoN]);

        REtUrn conveRtView;
    }

}

i HaVe REad that's NoT woRkinG IN BaseadapTEr. 
how we can Do it?
ThANk YoU.
EDIT : My LiStView ClAss
ImpOrt anDRoid.App.ActIvity;
impOrt anDRoid.app.FragmenT;
Import android.OS.BUNDlE;
ImpoRt aNdroid.suppoRt.anNOtatIon.NULlAblE;
ImporT andrOiD.ViEW.LayoutInflater;
impoRt AndroiD.view.view;
import andRoid.view.ViEWgRoup;
impoRt anDRoID.widget.Adapterview;
iMport androID.widget.LIstViEw;
import Android.wiDGEt.Toast;
iMpoRt aNdrOid.WIDgEt.AdapterView.oNitemclIckListEneR;

public ClaSs cOmmU exTeNds FragmeNt {

    public StAtIc FiNal strinG tAG = "commu";

    liStVIeW lvIew;
    LiSTViewADapteR lviEwadAPteR;

    privatE FiNAL staTiC STrinG moNtH[] = {"JanuAry","FEBruAry","MarcH","April","May",
            "junE","july","auGuSt","SepteMber","October","NoVeMber","DecembEr"};

    
 stub
        return title .length;
   }
   p ub licObje ct getItem(int posi tion) {
        // TOD O Aut o- g ener a te d met hod stu b 
   re tur nn ul l;
   } 

    p ublic long  ge tI temId(int po s it ion) {
      // TODO Au to- genera te d m e thodstu b
       r e turn 0 ;
    }
  priva t e class V ie wHol der {
        Tex t Vi e w txtViewTitle ;
     T e x tVi ewtxtViewDes cr iptio n ;
    } 
pub l ic View getVi ew(int posi t ion , View  c onv e rtView , Vie wG r oup  parent)
   {        / / TODO Auto-ge n eratedmethod  st ub     V iew Ho l der ho lde r ;
       L ay ou tInfl ater i n f late r =   co ntext .getLayoutInf lat er() ; 

      if(con ve rtVie w == n ull)       {
          convertV iew  =  in fl ater. i nflate (R. lay out.sim plerow, nul l) ;           holder =ne w Vi ewHolder ();
       hold er .tx tVie w T itle= (T e xt View) co nvertV i ew .f indView By Id(R.i d. tex tVi ew1);           holder .txtV i ewDescription=  (TextView) c o nv e r tV i ew.f ind ViewById(R. id.t e xtVi ew2) ; 
        con ve r tV i ew.setTag(holder);      }
       else
       {
        ho lder =( ViewHolder) co nvert View.getTa g ();
       } 

       holder. t x tViewTit le. set Tex t(t i t le [position]);    holder. txt ViewDes cri pti on. set Te xt(descri ption[po si ti on ]) ;
      return  c onv er tVi ew;
  }

} 

I h avere ad tha t's not wo r k ingin  B aseA dap te r. 
H ow w e  ca n do it ?
Thank y ou. EDIT  :  M y listV iew class
imp or t android. ap p.A ctivit y ; 
importandroid.app.Fragment;
i m port an dro id.os .Bun dle;
impo rtandroi d.s u pport. annota tion. Nu lla b l e;
im p o rt  an dr oid.view.L a y out Infla te r;
i mport a ndroid.view.View;i mpo rt android.vi ew. View G r ou p;i mp o rtan d roi d . widget.AdapterV iew;
impor ta nd roid.widge t .Li st View;
i mport a ndroi d .widget .Toast;
i mport and ro id.w i d get .AdapterVi ew.OnIte mClickLis t ener; 
p ublic  cl ass co mm u e xtend s Frag m ent  {

   pub li c stat ic fi na l String  TAG = "commu";

    Li stView  lvie w;    ListV iew A dap ter lview Adap ter;

   pri vat e fin als tatic  Str i ng  mo n th[]= {" J anuary"," F eb rua r y ", "March","Ap r i l "," May", 
         " June","July","Aug u st","September ","O c t obe r", " Nove mb er","December" };
 
 stub
_ _   _ return_title.length;
_ __}

  _ public Object_getItem(int position) {
 _  __  // TODO Auto-generated method stub
       _return_null;
 ___}

    public_long getItemId(int position) {
 _ _    // TODO Auto-generated method_stub
_  _    return 0;
   _}

    private class_ViewHolder {
 ___   _TextView txtViewTitle;
    _   TextView txtViewDescription;
 _  }

    public_View getView(int position, View convertView, ViewGroup_parent)
    {
_ _    _// TODO Auto-generated_method stub
_  _    ViewHolder holder;
_  _    LayoutInflater inflater_=_ context.getLayoutInflater();

 ___ _  if_(convertView_== null)
__     _{
_      _   _convertView_= inflater.inflate(R.layout.simplerow, null);
 _    _     holder_= new_ViewHolder();
 _          holder.txtViewTitle_= (TextView) convertView.findViewById(R.id.textView1);
   _   _ __ holder.txtViewDescription =_(TextView)_convertView.findViewById(R.id.textView2);
 _      _ _ convertView.setTag(holder);
    _   }
__     _else
     _  {
  ___    _  holder = (ViewHolder) convertView.getTag();
_  _    }

  __    holder.txtViewTitle.setText(title[position]);
 __     holder.txtViewDescription.setText(description[position]);

___    _return convertView;
    }

}

I_have read that's not working in BaseAdapter. 
How we_can do it?
Thank_you.
EDIT : My listView class
import_android.app.Activity;
import_android.app.Fragment;
import_android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.Toast;
import android.widget.AdapterView.OnItemClickListener;

public class_commu extends_Fragment {

 _  public static final String TAG = "commu";

 _  ListView lview;
   _ListViewAdapter lviewAdapter;

    private final static String month[] =_{"January","February","March","April","May",
       _    "June","July","August","September","October","November","December"};

  _ 