Skip to content

Instantly share code, notes, and snippets.

@chrisbanes
Last active April 6, 2022 13:32
Show Gist options
  • Save chrisbanes/a86d31c224d58d283ea9e444fb6dc0e3 to your computer and use it in GitHub Desktop.
Save chrisbanes/a86d31c224d58d283ea9e444fb6dc0e3 to your computer and use it in GitHub Desktop.
composables.txt (before)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ShowDetails(
stable navigateUp: Function0<Unit>
stable openShowDetails: Function1<@[ParameterName(name = 'showId')] Long, Unit>
stable openEpisodeDetails: Function1<@[ParameterName(name = 'episodeId')] Long, Unit>
stable openSeasons: Function2<@[ParameterName(name = 'showId')] Long, @[ParameterName(name = 'seasonId')] Long, Unit>
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun ShowDetails(
unstable viewModel: ShowDetailsViewModel
stable navigateUp: Function0<Unit>
stable openShowDetails: Function1<@[ParameterName(name = 'showId')] Long, Unit>
stable openEpisodeDetails: Function1<@[ParameterName(name = 'episodeId')] Long, Unit>
stable openSeasons: Function2<@[ParameterName(name = 'showId')] Long, @[ParameterName(name = 'seasonId')] Long, Unit>
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ShowDetails(
stable viewState: ShowDetailsViewState
stable navigateUp: Function0<Unit>
stable openShowDetails: Function1<@[ParameterName(name = 'showId')] Long, Unit>
stable openEpisodeDetails: Function1<@[ParameterName(name = 'episodeId')] Long, Unit>
stable refresh: Function0<Unit>
stable onMessageShown: Function1<@[ParameterName(name = 'id')] Long, Unit>
stable openSeason: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onSeasonFollowed: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onSeasonUnfollowed: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable unfollowPreviousSeasons: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onMarkSeasonWatched: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onMarkSeasonUnwatched: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onToggleShowFollowed: Function0<Unit>
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun ShowDetailsScrollingContent(
unstable show: TiviShow
unstable posterImage: TmdbImageEntity?
unstable backdropImage: TmdbImageEntity?
unstable relatedShows: List<RelatedShowEntryWithShow>
unstable nextEpisodeToWatch: EpisodeWithSeason?
unstable seasons: List<SeasonWithEpisodesAndWatches>
unstable watchStats: FollowedShowsWatchStats?
stable listState: LazyListState
stable openShowDetails: Function1<@[ParameterName(name = 'showId')] Long, Unit>
stable openEpisodeDetails: Function1<@[ParameterName(name = 'episodeId')] Long, Unit>
stable openSeason: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onSeasonFollowed: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onSeasonUnfollowed: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable unfollowPreviousSeasons: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onMarkSeasonWatched: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onMarkSeasonUnwatched: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable contentPadding: PaddingValues
stable modifier: Modifier? = @static Companion
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun PosterInfoRow(
unstable show: TiviShow
unstable posterImage: TmdbImageEntity?
stable modifier: Modifier? = @static Companion
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun BackdropImage(
unstable backdropImage: TmdbImageEntity?
stable showTitle: String
stable modifier: Modifier? = @static Companion
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun NetworkInfoPanel(
stable networkName: String
stable modifier: Modifier? = @static Companion
stable networkLogoPath: String? = @static null
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun RuntimeInfoPanel(
stable runtime: Int
stable modifier: Modifier? = @static Companion
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ShowStatusPanel(
stable showStatus: ShowStatus
stable modifier: Modifier? = @static Companion
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun AirsInfoPanel(
unstable show: TiviShow
stable modifier: Modifier? = @static Companion
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun CertificateInfoPanel(
stable certification: String
stable modifier: Modifier? = @static Companion
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun TraktRatingInfoPanel(
stable rating: Float
stable votes: Int
stable modifier: Modifier? = @static Companion
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun Header(
stable title: String
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun Genres(
unstable genres: List<Genre>
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun RelatedShows(
unstable related: List<RelatedShowEntryWithShow>
stable openShowDetails: Function1<@[ParameterName(name = 'showId')] Long, Unit>
stable modifier: Modifier? = @static Companion
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun NextEpisodeToWatch(
unstable season: Season
unstable episode: Episode
stable onClick: Function0<Unit>
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun InfoPanels(
unstable show: TiviShow
stable modifier: Modifier? = @static Companion
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun WatchStats(
stable watchedEpisodeCount: Int
stable episodeCount: Int
)
restartable scheme("[androidx.compose.ui.UiComposable]") fun SeasonRow(
unstable season: Season
stable episodesAired: Int
stable episodesWatched: Int
stable episodesToWatch: Int
stable episodesToAir: Int
stable openSeason: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onSeasonFollowed: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onSeasonUnfollowed: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable unfollowPreviousSeasons: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onMarkSeasonWatched: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable onMarkSeasonUnwatched: Function1<@[ParameterName(name = 'seasonId')] Long, Unit>
stable contentPadding: PaddingValues
stable modifier: Modifier? = @static Companion
unstable nextToAirDate: OffsetDateTime? = @static null
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ShowDetailsAppBar(
stable title: String?
stable isRefreshing: Boolean
stable showAppBarBackground: Boolean
stable navigateUp: Function0<Unit>
stable refresh: Function0<Unit>
stable modifier: Modifier? = @static Companion
)
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ToggleShowFollowFloatingActionButton(
stable isFollowed: Boolean
stable onClick: Function0<Unit>
stable expanded: Function0<Boolean>
stable modifier: Modifier? = @static Companion
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment