DataClassDisplayOptions

fun DataClassDisplayOptions(@DrawableRes placeholderDrawable: Int, @DrawableRes errorPlaceholderDrawable: Int, columns: Int, vertical: Boolean, showLocation: Boolean)

Parameters

placeholderDrawable

The drawable resource of the image to display while the real one is being loaded.

errorPlaceholderDrawable

The drawable resource of the image to load when there's an error while loading the real one.

columns

The amount of columns that should be shown to the user.

vertical

Whether the DataClass' image is vertical or not.

showLocation

Whether or not the location button should be visible.