Skip to content

Instantly share code, notes, and snippets.

@rygelouv
Last active April 26, 2022 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rygelouv/848a2a1e746ba8cd7f32483b4b22edd4 to your computer and use it in GitHub Desktop.
Save rygelouv/848a2a1e746ba8cd7f32483b4b22edd4 to your computer and use it in GitHub Desktop.
@Composable
fun MoviesScreenContent(
uiState: TransferScreenState,
actionChannel: ActionChannel
) {
...
}
...
@Composable
private fun SearchField(
inputState: InputState,
enabled: Boolean,
actionChannel: ActionChannel
) {
...
}
@Composable
private fun DownloadButton(
actionChannel: ActionChannel
movie: MovieUI? = null
) {
...
}
@Composable
private fun FavoriteField(
inputState: InputState,
enabled: Boolean,
actionChannel: ActionChannel
) {
...
}
@Composable
private fun RetryButton(
actionChannel: ActionChannel
) {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment