Skip to content

Instantly share code, notes, and snippets.

nicegoing

Block or report user

Report or block nicegoing

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View how to use spannableString
String user_agree_policy_1 = UIUtil.getString(R.string.user_agree_policy_1);
String user_agree_policy_2 = UIUtil.getString(R.string.user_agree_policy_2);
String user_agree_policy_3 = UIUtil.getString(R.string.user_agree_policy_3);
String text = user_agree_policy_1 + user_agree_policy_2 + user_agree_policy_3;
SpannableString spannableString = new SpannableString(text);
spannableString.setSpan(new ClickableSpan() {
@Override
public void onClick(View widget) {
Toast.makeText(context,"jump to one page",Toast.LENGTH_LONG);
You can’t perform that action at this time.