SearchResultItemContent
Interface defining all parts of SearchResultItemComposable.
Allows users to customize individual parts by providing custom implementations for specific ones (e.g., custom colors, icons, or completely replacing the part).
Use DefaultSearchResultItemContent for default implementations, or create a custom implementation using Kotlin delegation to override only specific components:
object MySearchResultItemContent : SearchResultItemContent by DefaultSearchResultItemContent {
@Composable
override fun Title(state: SearchResultItemState) {
// Custom icons and colors
SearchResultItemTitleComposable(
state = state,
icons = myCustomIcons,
colors = myCustomColors
)
}
}Inheritors
Functions
Composable function that renders the short item's address.
Composable function that displays important alerts or status messages.
Composable function that displays key attributes or features as tags.
Composable function that renders EV charging station status information.
Composable function that shows the distance from the user's location.
Composable function that displays the item's rating and review count.
Composable function that renders the subtitle or secondary description.
Composable function that renders the main title/name of the search result item.