App Movie Actions
fun AppMovieActions(onPlayClick: () -> Unit, onAddToListClick: () -> Unit, onFavoriteClick: () -> Unit, providers: List<WatchProvider>, onProviderClick: (WatchProvider) -> Unit, modifier: Modifier = Modifier, playText: String = stringResource(Res.string.movie_action_play_trailer), isPlaying: Boolean = false, isFavorite: Boolean = false, isInList: Boolean = false)
A vertical action bar for movies that includes a play button, list/favorite buttons and watch providers.
Parameters
on Play Click
Callback for the main play action.
on Add To List Click
Callback for the add to list action.
on Favorite Click
Callback for the favorite action.
providers
List of watch providers.
on Provider Click
Callback when a provider is clicked.
modifier
Modifier for the container.
play Text
Label for the play button.
is Playing
Whether the video is currently playing.
is Favorite
Whether the movie is favorited.
is In List
Whether the movie is in the user's list.