DirectoryObjectContent

Interface defining all parts of DirectoryObjectComposable.

Allows users to customize individual parts by providing custom implementations for specific ones (e.g., custom colors, icons, or completely replacing the part).

Use DefaultDirectoryObjectContent for default implementations, or create a custom implementation using Kotlin delegation to override only specific components:

object MyDirectoryObjectContent : DirectoryObjectContent by DefaultDirectoryObjectContent {
@Composable
override fun Title(viewModel: DirectoryObjectViewModel) {
// Custom colors
DirectoryObjectTitleComposable(
viewModel = viewModel,
colors = myCustomColors
)
}
}

Inheritors

Functions

Link copied to clipboard

Renders additional, non-essential information or metadata about the object.

Link copied to clipboard
abstract fun Alert(viewModel: DirectoryObjectViewModel)

Renders any important alerts, warnings, or status messages (e.g., "Temporarily Closed").

Link copied to clipboard

Renders a button to close or dismiss the detailed view.

Link copied to clipboard

Displays contact information such as phone numbers.

Link copied to clipboard

Shows the distance from the user's current location to the object.

Link copied to clipboard

Displays the full, detailed address of the object.

Link copied to clipboard

Renders information about entrances, porches, or specific access points (if applicable).

Link copied to clipboard
abstract fun Rating(viewModel: DirectoryObjectViewModel)

Displays the object's rating and review count.

Link copied to clipboard

Displays a shortened or compact version of the object's address.

Link copied to clipboard

Renders links to the object's official websites and social network profiles.

Link copied to clipboard

Renders the subtitle or secondary description of the directory object.

Link copied to clipboard
abstract fun Title(viewModel: DirectoryObjectViewModel)

Renders the main title/name of the directory object in the detailed view.

Link copied to clipboard

Displays the working hours information for a directory object.