19 lines
500 B
Kotlin
19 lines
500 B
Kotlin
package com.example.snapandsolve.camera
|
|
|
|
import android.net.Uri
|
|
import androidx.compose.ui.graphics.ImageBitmap
|
|
|
|
/**
|
|
* Holds state data for the MainScreen composable.
|
|
*/
|
|
data class AlbumViewState(
|
|
/**
|
|
* holds the URL of the temporary file which stores the image taken by the camera.
|
|
*/
|
|
val tempFileUrl: Uri? = null,
|
|
|
|
/**
|
|
* holds the list of images taken by camera or selected pictures from the gallery.
|
|
*/
|
|
val selectedPictures: List<ImageBitmap> = emptyList(),
|
|
) |