Back to project page karin.
The source code is released under:
MIT License
If you think the Android project karin 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 cc.wanko.karin.app.textbuilder; /*from w ww . j av a 2 s . co m*/ import android.content.Context; import android.content.Intent; import cc.wanko.karin.app.activities.UserStatusesActivity; import twitter4j.UserMentionEntity; /** * Created by eagletmt on 14/05/06. */ public class MentionSegment extends Segment { private final UserMentionEntity entity; public MentionSegment(UserMentionEntity entity) { super(entity.getStart(), entity.getEnd(), "@" + entity.getScreenName()); this.entity = entity; } @Override public void onClick(Context context) { Intent intent = UserStatusesActivity.createIntent(context, entity); context.startActivity(intent); } }