Class UriLoader.AssetFileDescriptorFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      AssetFileDescriptorFactory​(android.content.ContentResolver contentResolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DataFetcher<android.content.res.AssetFileDescriptor> build​(android.net.Uri uri)  
      ModelLoader<android.net.Uri,​android.content.res.AssetFileDescriptor> build​(MultiModelLoaderFactory multiFactory)
      Build a concrete ModelLoader for this model type.
      void teardown()
      A lifecycle method that will be called when this factory is about to replaced.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AssetFileDescriptorFactory

        public AssetFileDescriptorFactory​(android.content.ContentResolver contentResolver)
    • Method Detail

      • teardown

        public void teardown()
        Description copied from interface: ModelLoaderFactory
        A lifecycle method that will be called when this factory is about to replaced.
        Specified by:
        teardown in interface ModelLoaderFactory<android.net.Uri,​android.content.res.AssetFileDescriptor>