Code example for FragmentActivity

0
import org.androidannotations.annotations.FragmentById; 
import org.androidannotations.annotations.FragmentByTag; 
import org.androidannotations.test15.R; 
 
@EActivity(R.layout.support_fragments) 
public class MySupportFragmentActivity extends FragmentActivity { 
 
	@FragmentById 
	public MySupportFragment mySupportFragment; 
 
	@FragmentById(R.id.mySupportFragment) 
	public MySupportFragment mySupportFragment2; 
 
	@FragmentByTag 
	public MySupportFragment mySupportFragmentTag; 
 
	@FragmentByTag("mySupportFragmentTag") 
	public MySupportFragment mySupportFragmentTag2; 
 
	@Bean 
	public BeanWithSupportFragments beanWithSupportFragments;