toggle menu
Jochens Next Dinner
androidJvm
switch theme
search in API
app
/
be.hogent.jochensnextdinner.ui.appSections.likes
/
LikeViewModel
Like
View
Model
class
LikeViewModel
(
likeRepository
:
LikeRepository
)
:
ViewModel
ViewModel for managing Like data.
Members
Constructors
Like
View
Model
Link copied to clipboard
constructor
(
likeRepository
:
LikeRepository
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
like
Api
State
Link copied to clipboard
var
likeApiState
:
LikeApiState
ui
List
State
Link copied to clipboard
lateinit
var
uiListState
:
StateFlow
<
LikeListState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)
refresh
Link copied to clipboard
fun
refresh
(
)
Refreshes the list of Like items from the repository.