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
Renders additional, non-essential information or metadata about the object.
Renders any important alerts, warnings, or status messages (e.g., "Temporarily Closed").
Renders a button to close or dismiss the detailed view.
Displays contact information such as phone numbers.
Shows the distance from the user's current location to the object.
Displays the full, detailed address of the object.
Renders information about entrances, porches, or specific access points (if applicable).
Displays the object's rating and review count.
Displays a shortened or compact version of the object's address.
Renders links to the object's official websites and social network profiles.
Renders the subtitle or secondary description of the directory object.
Renders the main title/name of the directory object in the detailed view.
Displays the working hours information for a directory object.