DataClassDisplayOptions
data class DataClassDisplayOptions(@DrawableRes val placeholderDrawable: Int, @DrawableRes val errorPlaceholderDrawable: Int, val columns: Int, val vertical: Boolean, val showLocation: Boolean)
Stores the configuration in which the DataClass should be displayed.
Author
Arnau Mora
Since
20210819
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.
Constructors
Link copied to clipboard
fun DataClassDisplayOptions(@DrawableRes placeholderDrawable: Int, @DrawableRes errorPlaceholderDrawable: Int, columns: Int, vertical: Boolean, showLocation: Boolean)