Class ResourceLoader.UriFactory

  • All Implemented Interfaces:
    ModelLoaderFactory<java.lang.Integer,​android.net.Uri>
    Enclosing class:
    ResourceLoader<Data>

    public static class ResourceLoader.UriFactory
    extends java.lang.Object
    implements ModelLoaderFactory<java.lang.Integer,​android.net.Uri>
    Factory for loading resource Uris from Android resource ids.
    • Constructor Summary

      Constructors 
      Constructor Description
      UriFactory​(android.content.res.Resources resources)  
    • Method Summary

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

      • UriFactory

        public UriFactory​(android.content.res.Resources resources)
    • 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<java.lang.Integer,​android.net.Uri>