-
public final class BrowseScreenScopeReceiver scope which is used by content parameter in BrowseScreen.
-
-
Constructor Summary
Constructors Constructor Description BrowseScreenScope()
-
Method Summary
Modifier and Type Method Description final <T extends Any> Unitsection(Section.State<T> state, @StringRes() Integer titleId, @StringRes() Integer emptyMessageId, @StringRes() Integer failedMessageId, Boolean displayFooterOnlyOnLoadedState, Function1<BrowseScreenSectionScope<T>, Unit> content)final <T extends Any> UnitdownloadsSection(Section.State<T> state, Boolean displayFooterOnlyOnLoadedState, Function1<BrowseScreenSectionScope<T>, Unit> content)final UnitplaylistsSection(List<BrowseScreenPlaylistsSectionButton> buttons)final Unitbutton(BrowseScreenPlaylistsSectionButton button)-
-
Method Detail
-
section
final <T extends Any> Unit section(Section.State<T> state, @StringRes() Integer titleId, @StringRes() Integer emptyMessageId, @StringRes() Integer failedMessageId, Boolean displayFooterOnlyOnLoadedState, Function1<BrowseScreenSectionScope<T>, Unit> content)
-
downloadsSection
final <T extends Any> Unit downloadsSection(Section.State<T> state, Boolean displayFooterOnlyOnLoadedState, Function1<BrowseScreenSectionScope<T>, Unit> content)
-
playlistsSection
final Unit playlistsSection(List<BrowseScreenPlaylistsSectionButton> buttons)
-
button
final Unit button(BrowseScreenPlaylistsSectionButton button)
-
-
-
-