= m.start();
end = m.end();
spanText = nTagString.subSequence(start, end);
final CharSequence mLastTextSpan = spanText;
string.setSpan(new ClickableSpan() {
@Override
public void onClick(View widget) {
// Click on each tag will get here
}
@Override
public void updateDrawState(TextPaint ds) {
// color for the hash tag
}
}, start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
} return string; // Spannable String
\͍ͭͷྲྀΕͰ͓ئ͍͠·͢/