combine

fun combine(bitmaps: List<Bitmap?>, @Px size: Int, maxSectionSize: Int, errorPlaceholder: Drawable? = null): Bitmap
fun combine(vararg bitmaps: Bitmap?, @Px size: Int, maxSectionSize: Int, errorPlaceholder: Drawable? = null): Bitmap

Combines a list of bitmaps with a specific bitmap size.

Return

A combined bitmap.

Parameters

bitmaps

A list of bitmaps to combine.

size

A size of the bitmap.

maxSectionSize

The maximum size of the sections.