setWeight

open fun setWeight(weight: Int): PreFillType.Builder

Sets the weight to use to balance how many Bitmaps of this type are prefilled relative to the other requested types.

Return

This builder.

Parameters

weight

An integer indicating how to balance pre-filling this size and configuration of android.graphics.Bitmap against any other sizes/configurations that may be being pre-filled.