toggle menu
Jochens Next Dinner
androidJvm
switch theme
search in API
app
/
be.hogent.jochensnextdinner.ui.appSections.recipes
/
RecipeViewModel
Recipe
View
Model
class
RecipeViewModel
(
recipeRepository
:
RecipeRepository
)
:
ViewModel
ViewModel for managing Recipe data.
Members
Constructors
Recipe
View
Model
Link copied to clipboard
constructor
(
recipeRepository
:
RecipeRepository
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
recipe
Api
State
Link copied to clipboard
var
recipeApiState
:
RecipeApiState
ui
List
State
Link copied to clipboard
lateinit
var
uiListState
:
StateFlow
<
RecipeListState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)
refresh
Link copied to clipboard
fun
refresh
(
)
Refreshes the list of Recipe items from the repository.