Code example for TabHost.TabSpec

Methods: getTag, setContent

0
  { 
  } 
 
  public void a(TabHost.TabSpec paramTabSpec, Class<?> paramClass, Bundle paramBundle)
  { 
    paramTabSpec.setContent(new agt(this.mContext));
    agu localagu = new agu(paramTabSpec.getTag(), paramClass, paramBundle);
    this.alL.add(localagu);
    this.Rk.addTab(paramTabSpec);
    notifyDataSetChanged(); 
  } 
 
  public int getCount() 
  { 
    return this.alL.size();
  } 
 
  public Fragment h(int paramInt)
  { 
    agu localagu = (agu)this.alL.get(paramInt);
    return Fragment.instantiate(this.mContext, agu.a(localagu).getName(), agu.b(localagu));