Factory

class Factory(networkClient: () -> NetworkClient, cacheStrategy: () -> CacheStrategy = { CacheStrategy.DEFAULT }, connectivityChecker: (PlatformContext) -> ConnectivityChecker = ::ConnectivityChecker) : Fetcher.Factory<Uri>

Constructors

Link copied to clipboard
constructor(networkClient: () -> NetworkClient, cacheStrategy: () -> CacheStrategy = { CacheStrategy.DEFAULT }, connectivityChecker: (PlatformContext) -> ConnectivityChecker = ::ConnectivityChecker)

Functions

Link copied to clipboard
open override fun create(data: Uri, options: Options, imageLoader: ImageLoader): Fetcher?