Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

build
Link copied to clipboard
open fun build(): RenderCacheOptions
size
Link copied to clipboard
open fun size(@Nullable size: Integer): RenderCacheOptions.Builder
Maximum size allocated for the render cache in megabytes.

Extensions

setDisabled
Link copied to clipboard

Set render cache size to 0MB in order to disable it.

setLargeSize
Link copied to clipboard

Set render cache size to large(128MB).

setSmallSize
Link copied to clipboard

Set render cache size to small(64MB).