Kamera funktionalität
-AlbumAndroidViewModel -AlbumEvents -AlbumViewModel -AlbumViewState
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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(),
|
||||
)
|
||||
Reference in New Issue
Block a user