Name: drawee-text-view
Owner: bilibili
Description: Simple drawee spannable text view based on Fresco
Created: 2016-04-23 12:27:30.0
Updated: 2018-05-24 09:11:49.0
Pushed: 2017-11-13 04:09:23.0
Homepage: null
Size: 1272
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Simple drawee spannable text view based on Fresco.
eeTextView textview = (DraweeTextView)findViewById(R.id.text);
nableStringBuilder builder = new SpannableStringBuilder();
der.append("2333333\n")
t = builder.length();
der.append("[emotion:tv_cheers]");
eeSpan span = new DraweeSpan("http://static.yo9.com/web/emotions/tv_cheers.png");
der.setSpan(span, start, builder.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
der.append("bilibili- ( ?- ?)?? ??~\n");
view.setText(builder);