Class MediaStoreVideoThumbLoader.Factory

  • All Implemented Interfaces:
    ModelLoaderFactory<android.net.Uri,​java.io.InputStream>
    Enclosing class:
    MediaStoreVideoThumbLoader

    public static class MediaStoreVideoThumbLoader.Factory
    extends java.lang.Object
    implements ModelLoaderFactory<android.net.Uri,​java.io.InputStream>
    Loads InputStreams from media store image Uris that point to pre-generated thumbnails for those Uris in the media store.
    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(android.content.Context context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ModelLoader<android.net.Uri,​java.io.InputStream> 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

      • Factory

        public Factory​(android.content.Context context)
    • 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,​java.io.InputStream>