Files
SnapAndSolve/app/src/main/java/com/example/snapandsolve/camera/AlbumViewState.kt
si2503 9048d31413 Kamera funktionalität
-AlbumAndroidViewModel
-AlbumEvents
-AlbumViewModel
-AlbumViewState
2025-12-17 19:28:59 +01:00

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(),
)