Package-level declarations

This package enables efficient and effective user interactions with search components within the application.

The SearchView is a user interface component with an input bar. It provides listeners and click actions that let users to search for places. When a user inputs a query, the SearchView returns a list of places that match the search criteria.

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
open class SearchFragment : Fragment

Fragment that consists of SearchView, SearchResultsView, SearchSuggestionView and brings features of these separate views into a single fragment.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface SearchFragmentListener

Reports on specific user interactions with the search components.

Link copied to clipboard

Reports when a PlaceDetails has been selected.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class SearchResultsView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttributes: Int = 0) : FrameLayout, SearchResultClickListener

View responsible for displaying a list of Places.

Link copied to clipboard

Reports when a suggestion has been selected.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class SearchSuggestionView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttributes: Int = R.style.SearchSuggestionStyle) : LinearLayout

View that displays a SearchSuggestion.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class SearchView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttributes: Int = 0) : FrameLayout

View that consists of an input bar for the search phrase that will be used in TomTom Search API and returns list of found places.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface SearchViewListener

Reports on specific user interactions with the SearchView.