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 w w. j a v a2 s. c o m import android.content.Context; import com.andreabaccega.edittextformexample.LayoutExampleActivity; public class LayoutListItem extends ListItem { private int layoutRes; private int explanationString; public LayoutListItem(String _listString, int _layoutRes, int _explanationStringRes) { super(_listString); layoutRes = _layoutRes; explanationString = _explanationStringRes; } public void goToDemo(Context ctx) { ctx.startActivity(LayoutExampleActivity.buildIntent(ctx, getListTitle(), layoutRes, explanationString)); } }