Question

I'm kinda new to android, I've heard about a new interesting project called androidannotations tried it and it was great, and didn't effect the app performance as it is a preprocessing lib so you can simply do this:

@EActivity(R.layout.status)
public class StatusActivity extends Activity {  
    @ViewById(R.id.updateButton)
    Button updateButton;

    @ViewById(R.id.statusUpdateContent)
    EditText statusUpdateContent;

    @SystemService
    WindowManager windowManager;

    /** Called when the activity is first created. */
    @Override
    public void onCreate( Bundle savedInstanceState ) {
          //doSomething
    }

    @Override
    protected void onStop() {
         //doSomeStuff
    }

    @Click
    void updateButtonClicked() {
        //doSomething 
    }
}

but I've found nothing on how to create perference activity using androidannotations, any ideas?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top