Code example for Fragment

0
import org.androidannotations.test15.R; 
import org.androidannotations.test15.ebean.SomeBean; 
import org.androidannotations.test15.roboguice.SampleRoboApplication; 
 
@EFragment(R.layout.injected) 
public class MySupportFragment extends Fragment { 
 
	@Bean 
	SomeBean someBean; 
 
	@ViewById 
	TextView myTextView; 
 
	@App 
	SampleRoboApplication customApplication; 
 
	@SystemService 
	ActivityManager activityManager; 
 
	@Click 
	void myButton() {