Code example for FragmentActivity

Methods: onStart

0
		 
		setupControls(); 
		setupPager(); 
	} 
	 
	 
	public void setupPager() { 
		TitlePageAdapter adapter = new TitlePageAdapter(this);
		findViewById(R.id.pager_titles).setVisibility(View.GONE);
		 
		adapter.add("legislator_cosponsors", "Not seen", LegislatorListFragment.forBill(billId));
	} 
	 
	public void setupControls() { 
		ActionBarUtils.setTitle(this, "Cosponsors for " + Bill.formatCode(billId), Utils.billIntent(this, bill));
		ActionBarUtils.setTitleSize(this, 16);
	} 
}