PlaceDetailsCompactContentSlots

interface PlaceDetailsCompactContentSlots


Slots available for custom content in advanced compact place details composables.

The same slots are available in every orientation.

Exceptions thrown by slot content propagate to the host application; the composable doesn't catch them. Keep failure-prone work such as network calls or parsing out of the slot composable, and drive slot content from hoisted state instead.

Summary

Public functions

Unit

The bottom of the basic section of the place component, located directly below the main action buttons.

Unit

The top of the basic section of the place component, located directly above the place name.

Public functions

basicSectionBottom

fun basicSectionBottom(content: @Composable PlaceDetailsCompactSlotScope.() -> Unit): Unit

The bottom of the basic section of the place component, located directly below the main action buttons.

Parameters
content: @Composable PlaceDetailsCompactSlotScope.() -> Unit

Composable slot content within PlaceDetailsCompactSlotScope.

basicSectionTop

fun basicSectionTop(content: @Composable PlaceDetailsCompactSlotScope.() -> Unit): Unit

The top of the basic section of the place component, located directly above the place name.

Parameters
content: @Composable PlaceDetailsCompactSlotScope.() -> Unit

Composable slot content within PlaceDetailsCompactSlotScope.