DefaultLayoutPolicy
class DefaultLayoutPolicy(browsableHint: ContentStyle? = null, playableHint: ContentStyle? = null) : LayoutPolicy
Content copied to clipboard
A LayoutPolicy that uses ContentStyles to determine the right ItemType for an IviMediaItem.
Parameters
browsableHint
A presentation hint for browsable items.
playableHint
A presentation hint for playable items.
Constructors
Link copied to clipboard
fun DefaultLayoutPolicy(browsableHint: ContentStyle? = null, playableHint: ContentStyle? = null)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun getItemViewType(mediaItem: IviMediaItem): ListGroupItem.ItemType
Content copied to clipboard