AppMovieItem

fun AppMovieItem(movie: MovieItem, onClick: () -> Unit, modifier: Modifier = Modifier, type: MovieItemType = MovieItemType.HORIZONTAL)

A comprehensive component to display a movie or series item. It automatically handles the layout based on the type provided and uses AppMoviePoster and AppMovieInfo internally.

Parameters

movie

The MovieItem data model containing all necessary information.

onClick

Callback triggered when the item is tapped.

modifier

Modifier to be applied to the container.

type

The layout variation to use (MovieItemType.HORIZONTAL or MovieItemType.VERTICAL).