com.bumptech.glide.load.model.file_descriptor
Class FileDescriptorResourceLoader

java.lang.Object
  extended by com.bumptech.glide.load.model.ResourceLoader<ParcelFileDescriptor>
      extended by com.bumptech.glide.load.model.file_descriptor.FileDescriptorResourceLoader
All Implemented Interfaces:
FileDescriptorModelLoader<Integer>, ModelLoader<Integer,ParcelFileDescriptor>

public class FileDescriptorResourceLoader
extends ResourceLoader<ParcelFileDescriptor>
implements FileDescriptorModelLoader<Integer>

A ModelLoader For translating android resource id models into ParcelFileDescriptor data.


Nested Class Summary
static class FileDescriptorResourceLoader.Factory
          The default factory for FileDescriptorResourceLoaders.
 
Constructor Summary
FileDescriptorResourceLoader(Context context)
           
FileDescriptorResourceLoader(Context context, ModelLoader<Uri,ParcelFileDescriptor> uriLoader)
           
 
Method Summary
 
Methods inherited from class com.bumptech.glide.load.model.ResourceLoader
getResourceFetcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bumptech.glide.load.model.ModelLoader
getResourceFetcher
 

Constructor Detail

FileDescriptorResourceLoader

public FileDescriptorResourceLoader(Context context)

FileDescriptorResourceLoader

public FileDescriptorResourceLoader(Context context,
                                    ModelLoader<Uri,ParcelFileDescriptor> uriLoader)