Configuration

class Configuration(collapsedStateAnchor: SearchBottomSheetView.CollapsedStateAnchor, searchOptions: SearchOptions, hotCategories: List<Category>, favoriteTemplates: List<FavoriteTemplate>) : Parcelable

SearchBottomSheetView configuration class.

Constructors

Configuration
Link copied to clipboard
fun Configuration(collapsedStateAnchor: SearchBottomSheetView.CollapsedStateAnchor = DEFAULT_ANCHOR, searchOptions: SearchOptions = DEFAULT_SEARCH_OPTIONS, hotCategories: List<Category> = DEFAULT_HOT_CATEGORIES, favoriteTemplates: List<FavoriteTemplate> = DEFAULT_FAVORITE_TEMPLATES)

Types

Builder
Link copied to clipboard
class Builder
Builder for comfortable creation of Configuration instance.

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

collapsedStateAnchor
Link copied to clipboard
CollapsedStateAnchor to define anchor for the bottom sheet collapsed state.
favoriteTemplates
Link copied to clipboard
val favoriteTemplates: List<FavoriteTemplate>
FavoriteTemplate items to show in favorites list.
hotCategories
Link copied to clipboard
val hotCategories: List<Category>
Category items to show on hot categories panel.
searchOptions
Link copied to clipboard
val searchOptions: SearchOptions
SearchOptions, that will be used as default options for SearchEngine requests.