AvatarBitmapCombiner
A bitmap combiner to provide segmented style bitmap from a list of bitmaps. This combiner supports a maximum of 4 combined bitmaps.
Functions
Link copied to clipboard
fun combine(vararg bitmaps: Bitmap?, @Px size: Int, maxSectionSize: Int, errorPlaceholder: Drawable? = null): Bitmap
Content copied to clipboard
fun combine(bitmaps: List<Bitmap?>, @Px size: Int, maxSectionSize: Int, errorPlaceholder: Drawable? = null): Bitmap
Content copied to clipboard
Combines a list of bitmaps with a specific bitmap size.
Link copied to clipboard
Creates a Bitmap from a drawable with a specific size specs.