/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.search/LocationSearchIconProvider/iconForSearchResult
iconForSearchResult
\
abstract fun iconForSearchResult(resultType: LocationSearchIconProvider.SearchResultType, stopType: StopType? = null): Int
Implementations of this function should return the resource ID of a drawable to be used for a specific StopType.
Return
A drawable resource ID, or 0 if no icon should be displayed
Parameters
androidJvm
resultType | The type of search result |
stopType | The type of stop if resultType is SCHEDULED_STOP |