Interface ResourceDecoder<T>

Type Parameters:
T - The concrete type this decoder needs to decode

public interface ResourceDecoder<T>
Implement this interface to pass to PreprocessChain.loadWith(ResourceDecoder) for custom resource loading behavior.
  • Method Summary

    Modifier and Type Method Description
    T decode​(android.content.Context context, Payload payload)
    Prepare the resource for preprocessing.