PicassoBuilder

interface PicassoBuilder

Interface to build Picasso instance with Kotlin DSL.

See also

Functions

addRequestHandler
Link copied to clipboard
abstract fun addRequestHandler(requestHandler: RequestHandler): PicassoBuilder
Register a RequestHandler.

Properties

defaultBitmapConfig
Link copied to clipboard
abstract var defaultBitmapConfig: Bitmap.Config
Specify the default Bitmap.Config used when decoding images.
downloader
Link copied to clipboard
abstract var downloader: Downloader
Specify the Downloader that will be used for downloading images.
executor
Link copied to clipboard
abstract var executor: ExecutorService
Specify the executor service for loading images in the background.
indicatorsEnabled
Link copied to clipboard
abstract var indicatorsEnabled: Boolean
Toggle whether to display debug indicators on images.
listener
Link copied to clipboard
abstract var listener: Picasso.Listener
Specify a listener for interesting events.
loggingEnabled
Link copied to clipboard
abstract var loggingEnabled: Boolean
Toggle whether debug logging is enabled.
memoryCache
Link copied to clipboard
abstract var memoryCache: Cache
Specify the memory cache used for the most recent images.
requestTransformer
Link copied to clipboard
abstract var requestTransformer: Picasso.RequestTransformer
Specify a transformer for all incoming requests.