Bilibili/drawee-text-view

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

DraweeTextView

Simple drawee spannable text view based on Fresco.
Build Status

Usage

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);

demo


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.