//content表示文字内容
String content = imageWordDynamics.getFriend().toString()+imageWordDynamics.getContent().toString();
SpannableString spannableString = new SpannableString(content);
//设置文字颜色
ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.parseColor("#4e7cb0"));
spannableString.setSpan(foregroundColorSpan, 0, content.lastIndexOf("#")+1, Spannable.SPAN_INCLUSIVE_INCLUSIVE);
holder.content.setText(spannableString);