offscreenPreRaster property

bool offscreenPreRaster
getter/setter pair

Sets whether this WebView should raster tiles when it is offscreen but attached to a window. Turning this on can avoid rendering artifacts when animating an offscreen WebView on-screen. Offscreen WebViews in this mode use more memory. The default value is false.

NOTE: available on Android 23+.

Implementation

bool offscreenPreRaster;