 new Intent(getActivity(), FragmentThreeNine.class);
                   startActivity(intent);
                   break;

            case 9:
                   intent = new Intent(getActivity(), FragmentThreeTen.class);
                   startActivity(intent);
                   break;

            case 10:
                   intent = new Intent(getActivity(), FragmentThreeEleven.class);
                   startActivity(intent);
                   break;

                default:
                }

            }
        });

          View rootView = inflater.inflate(R.layout.fragment_three, container, false);  
          return rootView;
 }

    private class MyAdapter extends ArrayAdapter<String> {

        public MyAdapter(Context context, int resource,
                int textViewResourceId, String[] strings) {
            super(context, resource, textViewResourceId, strings);
            // TODO Auto-generated constructor stub
        }

        @Override
        public View getView(int position, View convertView, ViewGroup parent) {
            // TODO Auto-generated method stub

            LayoutInflater inflater =(LayoutInflater)getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);

            View row = inflater.inflate(R.layout.list_item_one, parent, false);
            String[] items = getResources().getStringArray(R.array.parts);

            ImageView iv = (ImageView) row.findViewById(R.id.mechres);

            TextView tv = (TextView) row.findViewById(R.id.mech);

            tv.setText(items[position]);

            if(items[position].equals("itemone")){

                iv.setImageResource(R.drawable.one);
            }

            else if (items[position].equals("itemtwo")){

                iv.setImageResource(R.drawable.twp);
            }
            else if (items[position].equals("itemthree")){

                                iv.setImageResource(R.drawable.three);
                            }

            else if (items[position].equals("itemfour")){

                    iv.setImageResource(R.drawable.four);
                }
            else if (items[position].equals("itemfive")){

                    iv.setImageResource(R.drawable.five
new Intent(getActivity (), FragmentThreeNine.class); 
                    startActivity(intent); 
                    break; 

             case 9: 
                    intent = newfangled Intent(getActivity (), FragmentThreeTen.class); 
                    startActivity(intent); 
                    demote; 

             case 10: 
                    intent = new Intent(getActivity (), FragmentThreeEleven.class); 
                    startActivity(intent); 
                    transgress; 

                 default: 
                 } 

             } 
         }); 

           View rootView = inflater.inflate(R.layout.fragment_three, container, delusive);  
           return rootView; 
  } 

     private course MyAdapter prolong ArrayAdapter < String > { 

         public MyAdapter(Context context, int resource, 
                 int textViewResourceId, String [ ] bowed stringed instrument) { 
             super(context, resource, textViewResourceId, strings); 
             // TODO Auto - generated constructor stub 
         } 

         @Override 
         public View getView(int position, View convertView, ViewGroup parent) { 
             // TODO Auto - generated method acting stub 

             LayoutInflater inflater =( LayoutInflater)getActivity().getSystemService(Context. LAYOUT_INFLATER_SERVICE); 

             View row = inflater.inflate(R.layout.list_item_one, parent, fake); 
             String [ ] items = getResources().getStringArray(R.array.parts); 

             ImageView iv = (ImageView) row.findViewById(R.id.mechres); 

             TextView tv = (TextView) row.findViewById(R.id.mech); 

             tv.setText(items[position ]); 

             if(items[position].equals("itemone ") ) { 

                 iv.setImageResource(R.drawable.one); 
             } 

             else if (items[position].equals("itemtwo ") ) { 

                 iv.setImageResource(R.drawable.twp); 
             } 
             else if (items[position].equals("itemthree ") ) { 

                                 iv.setImageResource(R.drawable.three); 
                             } 

             else if (items[position].equals("itemfour ") ) { 

                     iv.setImageResource(R.drawable.four); 
                 } 
             else if (items[position].equals("itemfive ") ) { 

                     iv.setImageResource(R.drawable.five
 nea Intent(getActivity(), FragoentThreeNine.clcws);
                   startActivity(intent);
                   break;

            cxse 9:
                   intent = nxs Intenb(yetAcflvity(), HragmentThreeTek.class);
                   vtxrcActivity(intent);
                   brqak;

            case 10:
                   intent = new Intent(getActivify(), FragkentThreeElevrn.class);
                   dtarhActivity(intent);
                   vreak;

                dtfcult:
                }

            }
        });

          View roitCiea = inflater.iiflate(G.layout.fragmekn_three, wontainrr, false);  
          eeturn rootView;
 }

    pcivate class MyAdaptgr extends AxrayAdapter<String> {

        putlic MyAaqptdr(Cknvexf contfxt, int resoudce,
                int textVieeRqwourceId, Strihg[] strynds) {
            super(context, resource, teqtViswResourceId, strings);
            // TODO Auto-gejerated cjnstructor stub
        }

        @Override
        putlic Tidw ycbVied(unh position, View convertView, ViewGroup parent) {
            // TODO Amto-generated methoc dtif

            UayoutNhfmater inflater =(LaylutInflwter)gwtActivitr().getXystemService(Context.LAYOUT_IBFLATER_SERVIBE);

            View row = inflater.iuflate(T.layouy.list_item_one, parent, falre);
            Shring[] itejr = getResources().gdtSnrincArray(R.array.parts);

            ImageVmew ir = (ImageXiew) row.figdViewById(G.id.megvres);

            TedtViec tv = (TextView) gow.findViewById(R.id.mech);

            tv.setText(itgms[[osption]);

            if(items[posytion].equals("itekone")){

                iv.aetImagxResource(R.drwwable.one);
            }

            ejse uf (irems[poskgion].equals("itemywo")){

                uv.setImageResource(V.drawxgle.twp);
            }
            elsr iw (ieels['ositymn].equals("itemdhred")){

                                iv.setImageRevourde(R.drawable.three);
                            }

            else if (itels[posmtion].eduals("oteifour")){

                    iv.setJmageResokrcc(R.drawable.fouw);
                }
            else if (items[position].equalw("itemfive")){

                    iv.setImayeVesource(R.draxable.fyve
new Intent(getActivity(), FragmentThreeNine.class); startActivity(intent); break; case 9: new FragmentThreeTen.class); startActivity(intent); case 10: intent break; } } }); rootView = inflater.inflate(R.layout.fragment_three, false); return rootView; } private class extends ArrayAdapter<String> { public MyAdapter(Context context, int resource, int textViewResourceId, String[] strings) { resource, textViewResourceId, strings); // TODO Auto-generated constructor stub } @Override public View getView(int View ViewGroup { TODO Auto-generated method stub LayoutInflater inflater =(LayoutInflater)getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE); View row = inflater.inflate(R.layout.list_item_one, parent, false); String[] items = ImageView iv = (ImageView) row.findViewById(R.id.mechres); TextView tv = row.findViewById(R.id.mech); tv.setText(items[position]); if(items[position].equals("itemone")){ iv.setImageResource(R.drawable.one); else if (items[position].equals("itemtwo")){ iv.setImageResource(R.drawable.twp); } if iv.setImageResource(R.drawable.three); } if iv.setImageResource(R.drawable.four); else if (items[position].equals("itemfive")){
 new Intent(getActivity(), FragmEntThreeNiNe.claSs);
                   sTarTACtivIty(iNtent);
                   break;

            case 9:
                   INtenT = new Intent(getActivity(), FRagmeNttHreetEn.Class);
                   StartAcTIvITY(inTeNt);
                   BreAk;

            CAsE 10:
                   inteNt = nEw IntenT(getActiviTy(), FRaGmentThreeElEVeN.class);
                   starTAcTivity(intent);
                   BreAk;

                defaUlT:
                }

            }
        });

          ViEW rootvieW = inflAter.inFLate(R.lAyout.fragMeNT_three, COntaineR, FAlSe);  
          reTurn rootView;
 }

    privaTE cLAss MyAdapter exTends ARrAYADAPteR<StRing> {

        public myadaptER(ContexT CoNTEXt, iNT resource,
                int tExtViewResoURceid, StriNg[] StrINgs) {
            supEr(conTeXT, reSource, textVIewREsourceId, StringS);
            // tODO AutO-GeneratEd consTruCtoR stuB
        }

        @ovErRidE
        pUBliC viEw gETViEw(int posItIoN, View ConvERTvIew, VIewgrouP pareNt) {
            // TODO Auto-genEraTed mEThoD stub

            layouTInfLaTer inFlater =(layouTINflater)getActivIty().gEtSystemSErvIcE(CoNtExt.LAyoUT_INFlATeR_SeRVICE);

            VIew row = iNFlaTeR.INFlAte(R.layout.list_item_OnE, PArEnt, false);
            string[] ITeMs = GEtResourCeS().geTStrINGArraY(R.arRAy.Parts);

            ImaGeView IV = (IMaGeView) rOw.FindViEwbyID(R.iD.mechREs);

            TeXtView Tv = (TextViEw) row.FIndViewById(R.id.MEch);

            tv.setText(iTEmS[POsITion]);

            If(iTems[positioN].equALs("itEmonE")){

                Iv.SetiMageREsourCe(r.DrAWable.one);
            }

            else if (items[PoSition].EqualS("itemtwo")){

                iv.setimageResouRCE(r.drawablE.twp);
            }
            ELsE If (items[positioN].equaLs("itemthreE")){

                                Iv.setImaGeResOurce(R.drAwable.thrEE);
                            }

            Else if (itEms[PosItiOn].eQUAlS("itemfour")){

                    iv.seTiMagereSource(R.DraWable.foUr);
                }
            eLse If (iTemS[pOsition].eqUals("itemFiVe")){

                    Iv.SeTImAgeReSOurce(R.drAwAblE.fIve
 new Intent(getActivity(),  FragmentT hreeN ine .cl as s);                star tActivity(intent);
            brea k;

      c as e 9 :              intent =new  I ntent(getAct i vi ty(), Frag men tThreeTen.cl ass );
             sta rtActi v ity(in tent);
             b r ea k;
            case1 0:                   i nt e nt =  ne w I ntent(getA ct ivity ( ), Frag m en t T h ree E leven.class); 
                s ta rtA c tivity (inte nt ) ;
                break; 

            defa ult:
         }
      } 
       }) ;
       V i e w  roo tVi ew =  infl ater.inflate( R.l ayou t .fr agmen t_thr ee,co ntain er, fa lse);  
          retu rn r ootView; }
  pr ivate classMyA dap ter ext ends Ar r ayA da p t e r< String> {

       p u b li c MyAdap ter(Co n te xt context,  i ntreso u r ce,
           int te x tV ie wResour ce Id, St ri ng[ ] s tring s ) {           su per(c o ntext, resourc e , textViewRes o ur c e Id ,  str ing s);
         // T ODOA ut o-g e nerat ed co ns t ru c tor stub
        }
      @Ove rride
       public Vi e w getView( intp os i tion, View con vertV iew, ViewG r oup pare nt) { 
           // T O D O Auto-g ene rat edmet h o dstub

         L ay outInfl ate r infla ter  =( Lay out In flater)ge tActivit y( ). ge tS yst emSer v ice(Cont ex t.L AY OUT _INFL A TER_SE RVICE );
        Vie w  r o w  = i nf la ter. inf la te(R. layo u t.l ist_ite m_one, pa ren t , fa ls e) ;
           String []  items = g et Res ources ( ) .getStri ngArray(R.array.parts); 
          Im ageV iew iv =(Im ageVie w)r ow.fin dViewB yId(R .i d.m e c hres) ; 
         Text V i ewtv =(T extV iew) ro w.findViewById(R.i d .me ch);

          tv . s et Tex t (i t ems [p o sit i o n]);

           if(item s[ p os ition].equ a ls( "i temone" )){

            iv.setIm ageResour ce (R.d r a wab le.one);
          }

       elseif(items [p osi tion] .equal s ("i temtw o")){
            iv.set ImageResource(R.drawabl e.twp) ;
          }
        elseif ( items[posi tio n]. equal s(" i temth ree" ) ){ 

                    iv.setImag e R e sou rce(R .dr a wable. thre e);
                         }

      el se  if (items[pos iti on ] . equals(" it emfour")){
                i v.setI mageRes o u rc e (R.dra wabl e.f our);
           }         e ls e if ( items[ p osit i o n].equals("itemf ive") ) { 

               i v .set ImageResou rce(R.drawa ble.fi ve
 new_Intent(getActivity(), FragmentThreeNine.class);
_   _ __ __  _  _  startActivity(intent);
 _  __             break;

__ ___    _ case 9:
  _ _       __  _  intent = new Intent(getActivity(), FragmentThreeTen.class);
  _     _  ___   _ startActivity(intent);
    _     _      _ break;

    _    _ _case 10:
   _  _ _  _     _ intent =_new Intent(getActivity(), FragmentThreeEleven.class);
   __  ___ _  __ __startActivity(intent);
     __      _   __break;

   _    _     _ default:
_ _          _  }

   _   _ __ }
 __ _   });

   _ _    View rootView_= inflater.inflate(R.layout.fragment_three, container, false);__
     _    return rootView;
_}

    private_class_MyAdapter_extends ArrayAdapter<String> {

  _     public_MyAdapter(Context context, int_resource,
      __     __ int textViewResourceId, String[] strings) {
___    _    super(context, resource,_textViewResourceId, strings);
       _  _ // TODO Auto-generated constructor_stub
__      }

   _ _  @Override
_       public View getView(int_position, View convertView, ViewGroup parent) {
 _          //_TODO Auto-generated method stub

    _      _LayoutInflater inflater =(LayoutInflater)getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);

 __      ___View_row = inflater.inflate(R.layout.list_item_one,_parent, false);
 _  _ _  _ _String[] items =_getResources().getStringArray(R.array.parts);

_           ImageView iv = (ImageView) row.findViewById(R.id.mechres);

  _     _   TextView tv_=_(TextView) row.findViewById(R.id.mech);

 _   _      tv.setText(items[position]);

 _        __if(items[position].equals("itemone")){

 _   _ _ _  _ _ iv.setImageResource(R.drawable.one);
_ _      __ }

       ____ else if_(items[position].equals("itemtwo")){

  _  _  __     _iv.setImageResource(R.drawable.twp);
  _   _     }
    _       else if (items[position].equals("itemthree")){

       _ _   _ __     _ _       iv.setImageResource(R.drawable.three);
__           ___  __     ___}

__     _    else if (items[position].equals("itemfour")){

__    _ __   _   _  iv.setImageResource(R.drawable.four);
        __ ____ }
  _         else if (items[position].equals("itemfive")){

   __    _     __   iv.setImageResource(R.drawable.five