Back to project page Android-ORM.
The source code is released under:
Apache License
If you think the Android project Android-ORM listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * /*from w ww . j a v a2s .co m*/ */ package cn.ieclipse.aorm.example; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.View; import android.view.View.OnClickListener; /** * @author Jamling * */ public abstract class BaseActivity extends ActionBarActivity implements OnClickListener { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(getLayout()); initIntent(getIntent(), savedInstanceState); } @Override public void onClick(View v) { // TODO Auto-generated method stub } protected void initIntent(Intent intent, Bundle savedInstanceState) { } protected abstract int getLayout(); }