Back to project page wiki-contacts-android.
The source code is released under:
Apache License
If you think the Android project wiki-contacts-android 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.kahkong.wikicontacts.link; //from ww w . jav a2s . c o m import android.content.Context; /** * * @author Poh Kah Kong * */ public class TagLink extends Link { protected String tag; protected com.kahkong.wikicontacts.callback.OnClickListener onClickListener; private TagLink(Context context) { super(context); } public TagLink(Context context, String tag, com.kahkong.wikicontacts.callback.OnClickListener onClickListener) { super(context); this.tag = tag; this.onClickListener = onClickListener; initValues(); } @Override protected void initValues() { value = tag; message = "Search " + tag + "?"; super.initValues(); } @Override protected void action() { onClickListener.onClick(tag); } }