App-Support > healthstack.app > HomeTaskCard
HomeTaskCard
[androidJvm]\
@Composable
fun HomeTaskCard(title: String, state: TaskViewModel.TasksState, onReload: () -> Unit = { }, onStartTask: (Task) -> Unit = { })
A composable function that displays a card view for a list of tasks.
Parameters
androidJvm
title | the title of the card. |
state | the state of the tasks. |
onReload | a callback function to reload the tasks. |
onStartTask | a callback function to start a task. |