Back to project page android-edittext-validator.
The source code is released under:
MIT License
If you think the Android project android-edittext-validator 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.andreabaccega.edittextformexample.utils; // w ww. j a v a 2 s .com import android.app.Activity; import android.content.Context; import android.content.Intent; public class SimpleListItem extends ListItem { private Class<? extends Activity> clazz; public SimpleListItem(String _listString, Class<? extends Activity> _clazz) { super(_listString); clazz = _clazz; } public void goToDemo(Context ctx) { ctx.startActivity(new Intent(ctx, clazz)); } }