Layout

data class Layout(val id: Int, @StringRes val titleRes: Int = R.string.layout_title_default, @RawRes val layoutRes: Int, @DrawableRes val layoutThumbnailRes: Int = R.drawable.video_thumbnail_default)

Layout drawings for a Machine

This is used in the com.example.econoshow.data.LocalEconoShowDataProvider data object to construct the necessary data for a machine

Constructors

Link copied to clipboard
constructor(id: Int, @StringRes titleRes: Int = R.string.layout_title_default, @RawRes layoutRes: Int, @DrawableRes layoutThumbnailRes: Int = R.drawable.video_thumbnail_default)

Properties

Link copied to clipboard
val id: Int

Identifier (currently unused)

Link copied to clipboard

The .pdf file of the layout

Link copied to clipboard

The image used as a thumbnail when creating a button to display the layout

Link copied to clipboard

The title of the layout