NetworkFetcher
class NetworkFetcher(url: String, options: Options, networkClient: Lazy<NetworkClient>, diskCache: Lazy<DiskCache?>, cacheStrategy: Lazy<CacheStrategy>, connectivityChecker: Lazy<ConnectivityChecker>, concurrentRequestStrategy: Lazy<ConcurrentRequestStrategy>) : Fetcher
A Fetcher that fetches and caches images from the network.
Constructors
Link copied to clipboard
constructor(url: String, options: Options, networkClient: Lazy<NetworkClient>, diskCache: Lazy<DiskCache?>, cacheStrategy: Lazy<CacheStrategy>, connectivityChecker: Lazy<ConnectivityChecker>, concurrentRequestStrategy: Lazy<ConcurrentRequestStrategy>)
Types
Link copied to clipboard
class Factory(networkClient: () -> NetworkClient, cacheStrategy: () -> CacheStrategy = { CacheStrategy.DEFAULT }, connectivityChecker: (PlatformContext) -> ConnectivityChecker = ::ConnectivityChecker, concurrentRequestStrategy: () -> ConcurrentRequestStrategy = { ConcurrentRequestStrategy.UNCOORDINATED }) : Fetcher.Factory<Uri>