Class MultiModelLoaderFactory


  • public class MultiModelLoaderFactory
    extends java.lang.Object
    Capable of building an ModelLoader that wraps one or more other ModelLoaders for a given model and data class.
    • Constructor Summary

      Constructors 
      Constructor Description
      MultiModelLoaderFactory​(androidx.core.util.Pools.Pool<java.util.List<java.lang.Throwable>> throwableListPool)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <Model,​Data>
      ModelLoader<Model,​Data>
      build​(java.lang.Class<Model> modelClass, java.lang.Class<Data> dataClass)  
      • Methods inherited from class java.lang.Object

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

      • MultiModelLoaderFactory

        public MultiModelLoaderFactory​(@NonNull
                                       androidx.core.util.Pools.Pool<java.util.List<java.lang.Throwable>> throwableListPool)
    • Method Detail

      • build

        @NonNull
        public <Model,​Data> ModelLoader<Model,​Data> build​(@NonNull
                                                                      java.lang.Class<Model> modelClass,
                                                                      @NonNull
                                                                      java.lang.Class<Data> dataClass)