NetworkFetcher
class NetworkFetcher(url: String, options: Options, networkClient: Lazy<NetworkClient>, diskCache: Lazy<DiskCache?>, cacheStrategy: Lazy<CacheStrategy>, connectivityChecker: ConnectivityChecker) : 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: ConnectivityChecker)
Types
Link copied to clipboard
class Factory(networkClient: () -> NetworkClient, cacheStrategy: () -> CacheStrategy = { CacheStrategy.DEFAULT }, connectivityChecker: (PlatformContext) -> ConnectivityChecker = ::ConnectivityChecker) : Fetcher.Factory<Uri>