public static interface

ScalingUtils.StatefulScaleType

com.facebook.drawee.drawable.ScalingUtils.StatefulScaleType
Known Indirect Subclasses

Class Overview

Scaletypes that have some internal state and are not static.

Summary

Public Methods
abstract Object getState()
Returns the internal state.

Public Methods

public abstract Object getState ()

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.