how to create a very simple preference activity using android annotations?
-
30-10-2019 - |
문제
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?
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow