java.lang.Object | |||||
↳ | android.text.style.CharacterStyle | ||||
↳ | android.text.style.MetricAffectingSpan | ||||
↳ | android.text.style.ReplacementSpan | ||||
↳ | com.facebook.widget.text.span.BetterImageSpan | ||||
↳ | com.facebook.drawee.span.DraweeSpan |
Span that contains a Drawee.
The containing view must also call onDetach()
from its onStartTemporaryDetach()
and onDetachedFromWindow()
methods. Similarly, it
must call onAttach()
from its onFinishTemporaryDetach()
and onAttachedToWindow()
methods.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.facebook.widget.text.span.BetterImageSpan
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DraweeSpan(DraweeHolder draweeHolder, int verticalAlignment) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DraweeHolder |
getDraweeHolder()
Get the underlying DraweeHolder.
| ||||||||||
boolean |
isAttached()
Checks whether the view that uses this holder is currently attached to a window.
| ||||||||||
void |
onAttach()
Gets the drawee span ready to display the image.
| ||||||||||
void |
onDetach()
Releases resources used to display the image.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.facebook.widget.text.span.BetterImageSpan
| |||||||||||
From class
android.text.style.ReplacementSpan
| |||||||||||
From class
android.text.style.MetricAffectingSpan
| |||||||||||
From class
android.text.style.CharacterStyle
| |||||||||||
From class
java.lang.Object
|
Checks whether the view that uses this holder is currently attached to a window.
Gets the drawee span ready to display the image.
The containing view must call this method from both onFinishTemporaryDetach()
and onAttachedToWindow()
.
Releases resources used to display the image.
The containing view must call this method from both onStartTemporaryDetach()
and onDetachedFromWindow()
.