com.facebook.drawee.drawable.ScalingUtils.StatefulScaleType |
Known Indirect Subclasses |
Scaletypes that have some internal state and are not static.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Object |
getState()
Returns the internal state.
|
Returns the internal state. The returned object must be immutable!
The returned state may be used for caching the result of ScaleType.getTransform
.
If null state is returned, the result will not be cached. If non-null state is returned, the
old transformation may be used if produced with an equal state.