-
public final class PlaylistDownloadScreenKt
-
-
Method Summary
Modifier and Type Method Description final static UnitPlaylistDownloadScreen(ScalingLazyColumnState columnState, String playlistName, PlaylistDownloadScreenState<PlaylistUiModel, DownloadMediaUiModel> playlistDownloadScreenState, Function1<PlaylistUiModel, Unit> onDownloadButtonClick, Function1<PlaylistUiModel, Unit> onCancelDownloadButtonClick, Function1<DownloadMediaUiModel, Unit> onDownloadItemClick, Function1<DownloadMediaUiModel, Unit> onDownloadItemInProgressClick, Function1<PlaylistUiModel, Unit> onShuffleButtonClick, Function1<PlaylistUiModel, Unit> onPlayButtonClick, Modifier modifier, Function1<PlaylistUiModel, Unit> onDownloadCompletedButtonClick, String defaultMediaTitle, Painter downloadItemArtworkPlaceholder, String onDownloadItemInProgressClickActionLabel)An implementation of EntityScreen using PlaylistUiModel and DownloadMediaUiModel as models. final static PlaylistDownloadScreenState.Loaded<PlaylistUiModel, DownloadMediaUiModel>createPlaylistDownloadScreenStateLoaded(PlaylistUiModel playlistModel, List<DownloadMediaUiModel> downloadMediaList)A helper function to build a EntityScreenState.Loaded with PlaylistUiModel and DownloadMediaUiModel, calculating the value of PlaylistDownloadScreenState.Loaded.downloadMediaListState. -
-
Method Detail
-
PlaylistDownloadScreen
@Composable() final static Unit PlaylistDownloadScreen(ScalingLazyColumnState columnState, String playlistName, PlaylistDownloadScreenState<PlaylistUiModel, DownloadMediaUiModel> playlistDownloadScreenState, Function1<PlaylistUiModel, Unit> onDownloadButtonClick, Function1<PlaylistUiModel, Unit> onCancelDownloadButtonClick, Function1<DownloadMediaUiModel, Unit> onDownloadItemClick, Function1<DownloadMediaUiModel, Unit> onDownloadItemInProgressClick, Function1<PlaylistUiModel, Unit> onShuffleButtonClick, Function1<PlaylistUiModel, Unit> onPlayButtonClick, Modifier modifier, Function1<PlaylistUiModel, Unit> onDownloadCompletedButtonClick, String defaultMediaTitle, Painter downloadItemArtworkPlaceholder, String onDownloadItemInProgressClickActionLabel)
An implementation of EntityScreen using PlaylistUiModel and DownloadMediaUiModel as models.
-
createPlaylistDownloadScreenStateLoaded
final static PlaylistDownloadScreenState.Loaded<PlaylistUiModel, DownloadMediaUiModel> createPlaylistDownloadScreenStateLoaded(PlaylistUiModel playlistModel, List<DownloadMediaUiModel> downloadMediaList)
A helper function to build a EntityScreenState.Loaded with PlaylistUiModel and DownloadMediaUiModel, calculating the value of PlaylistDownloadScreenState.Loaded.downloadMediaListState.
-
-
-
-