Back to project page RZAndroidBaseUtils.
The source code is released under:
MIT License
If you think the Android project RZAndroidBaseUtils listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.raizlabs.baseutils.examples; //from ww w.ja v a 2 s. c o m import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import com.raizlabs.baseutils.examples.asyncdrawable.AsyncDrawableExampleActivity; import com.raizlabs.baseutils.examples.asyncdrawable.AsyncDrawableListExampleActivity; import com.raizlabs.baseutils.examples.simplegenericadapter.SimpleGenericAdapterExampleActivity; import com.raizlabs.baseutils.examples.viewgroupadapter.ViewGroupAdapterExampleActivity; import com.raizlabs.baseutils.examples.viewholderstrategy.SimpleViewHolderStrategyExampleActivity; public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); findViewById(R.id.main_button_viewGroupAdapter).setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { startActivity(new Intent(MainActivity.this, ViewGroupAdapterExampleActivity.class)); } }); findViewById(R.id.main_button_simpleGenericAdapter).setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { startActivity(new Intent(MainActivity.this, SimpleGenericAdapterExampleActivity.class)); } }); findViewById(R.id.main_button_simpleViewHolderStrategy).setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { startActivity(new Intent(MainActivity.this, SimpleViewHolderStrategyExampleActivity.class)); } }); findViewById(R.id.main_button_asyncDrawable).setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { startActivity(new Intent(MainActivity.this, AsyncDrawableExampleActivity.class)); } }); findViewById(R.id.main_button_asyncDrawableList).setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { startActivity(new Intent(MainActivity.this, AsyncDrawableListExampleActivity.class)); } }); } }