use of org.qii.weiciyuan.bean.UserBean in project weiciyuan by qii.
the class TimeLineUtility method addJustHighLightLinksOnlyReplyComment.
private static void addJustHighLightLinksOnlyReplyComment(CommentBean bean) {
String name = "";
UserBean reUser = bean.getUser();
if (reUser != null) {
name = reUser.getScreen_name();
}
SpannableString value;
if (!TextUtils.isEmpty(name)) {
value = TimeLineUtility.convertNormalStringToSpannableString("@" + name + ":" + bean.getText());
} else {
value = TimeLineUtility.convertNormalStringToSpannableString(bean.getText());
}
bean.setListViewSpannableString(value);
}
Aggregations