computeDetailTopOffset

fun computeDetailTopOffset(paddingTop: Double, focusedCardHeight: Double, spacing: Double = 24.0): Double

Computes the top offset for the detail view below a focused card.

Return

top offset in dp/points for the detail view.

Parameters

paddingTop

top padding of the list.

focusedCardHeight

rendered height of the focused card.

spacing

vertical spacing below the focused card. Defaults to 24.0.