Documentation
    Preparing search index...

    Interface ImagePipelineConfigSetting

    interface ImagePipelineConfigSetting {
        globalSignatureKey?: string;
        isDownsampleEnabled?: boolean;
        leakTracker?: any;
        memoryCacheScreens?: number;
        memoryCacheSize?: number;
        onInitialize?: Function;
        useOkhttp?: any;
        usePersistentCacheKeyStore?: boolean;
    }
    Index

    Properties

    globalSignatureKey?: string
    isDownsampleEnabled?: boolean

    Fresco only (4.x). Ignored: the Glide based plugin always downsamples.

    android

    leakTracker?: any

    Fresco only (4.x). Ignored.

    android

    memoryCacheScreens?: number
    memoryCacheSize?: number
    onInitialize?: Function

    Called before the native library is initialized, to allow very custom native handling.

    • Android: (glideConfiguration: com.nativescript.image.GlideConfiguration, config: ImagePipelineConfigSetting)
    • iOS: (loadersManager: SDImageLoadersManager, loaders: any[], config: ImagePipelineConfigSetting). loaders is the array that will be set, you can modify it.
    useOkhttp?: any

    Android: a custom okhttp3.OkHttpClient used by Glide to download images. false or undefined: a default client is used. Ignored when OkHttp is not part of the app (glideUseOkHttp=false, see the blueprint).

    android

    usePersistentCacheKeyStore?: boolean