Code example for FragmentActivity

Methods: onStart

0
		String chamber = getIntent().getStringExtra("chamber");
		if (chamber != null && chamber.equals("senate"))
			adapter.selectPage(1);
	} 
} 
Connect your IDE to all the code out there  Get Codota for Java