Class UnitTranscoder<Z>
java.lang.Object
com.bumptech.glide.load.resource.transcode.UnitTranscoder<Z>
- Type Parameters:
Z- The type of the resource that will be transcoded from and to.
- All Implemented Interfaces:
ResourceTranscoder<Z,Z>
A simple
ResourceTranscoder that simply returns the given resource.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UnitTranscoder
public UnitTranscoder()
-
-
Method Details
-
get
-
transcode
Description copied from interface:ResourceTranscoderTranscodes the given resource to the new resource type and returns the new resource.- Specified by:
transcodein interfaceResourceTranscoder<Z,Z> - Parameters:
toTranscode- The resource to transcode.
-