Package-level declarations
Types
Link copied to clipboard
data class CoverFlowParams(val size: Float = 0.5f, val offset: Float = 0.4f, val distanceFactor: DistanceFactor = OffsetLinearDistanceFactor(), val angle: Float = 55.0f, val shift: Float = 0.4f, val zoom: Float = 0.8f, val mirror: Boolean = true) : Parcelable
Params for configuring the coverflow composable.
Link copied to clipboard
interface CoverFlowScope
Receiver scope to add elements to the CoverFlow list.
Link copied to clipboard
class CoverFlowState
Exposes the scroll state.
Link copied to clipboard
interface DistanceFactor
DistanceFactor returns how strong the three effects angle, horizontal translation, and zoom get applied to each element in the view.
Link copied to clipboard
class OffsetLinearDistanceFactor(@FloatRange(from = 0.0, to = Infinity ) start: Float = 0.0f, @FloatRange(from = 0.0, to = Infinity ) end: Float = 0.5f) : DistanceFactor, Parcelable
DistanceFactor based on two values.
Link copied to clipboard
mainly for debugging purposes
Functions
Link copied to clipboard
fun CoverFlow(modifier: Modifier = Modifier, state: CoverFlowState = rememberCoverFlowState(), params: CoverFlowParams = CoverFlowParams(), content: CoverFlowScope.() -> Unit)
CoverFlow implements 🍎 CoverFlow for Jetpack Compose.
Link copied to clipboard
Initializes a CoverFlowState.