资 源 简 介
Keep the lib small, simple and fast is the main idea of this project.
Installation
Add the eandroid-version.jar to the build path of your Android project
Make your activities extend from EActivity instead of Activity.
Usage Example
typical Android activity
```
public class AndroidWay extends Activity
{
private Button btn1;
private Button btn2;
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
btn1 = (Button)this.findViewById(R.id.btn1);
btn2 = (Button)this.findViewById(R.id.btn2);
OnClickListener listener = new OnClickListener(){
@Override
public void onClick(View v)
{
switch(v.getId()){
case R.id.btn1:
//do something
break;
case R.id.btn2:
//do something
break;