Closed hadi-norouzi closed 3 weeks ago
You can work on this. Please check if we can reuse the video-thumbnail-grid
module.
video-thumbnail-grid
takes two params, VideoType
and VideoListType
.
Do you think it's ok to add another param for genre? or add another module only for genre grid?
No. Just make this VideoThumbnailGridScreen
(Line: 55) public and use it with your new view model in a new module:
@Composable
private fun VideoThumbnailGridScreen(
state: VideoThumbnailGridUiState,
pagedList: LazyPagingItems<VideoThumbnail>,
onMovieClick: (tmdbId: Int) -> Unit,
onShowClick: (tmdbId: Int) -> Unit,
onBack: () -> Unit,
)
Is there an existing issue for this?
Related app
All - Android
Describe the problem
I need to click on genre in movie/show detail page and get list of movies/shows by that genre.
Describe the solution
No response
Additional context
No response
Code of Conduct