SearchSuggestionsViewGenerator

class SearchSuggestionsViewGenerator


The class to generate the search suggestions UI view based on the suggestions data and the customization option.

Summary

Public functions

View!
populateView(context: Context!)

Generates the search suggestions UI view based on the suggestions data and the customization option.

Unit
updateView(view: View!, context: Context!)

Updates the search suggestions UI view generated from populateView to match the most updated customization option.

Public functions

populateView

fun populateView(context: Context!): View!

Generates the search suggestions UI view based on the suggestions data and the customization option.

Parameters
context: Context!

Activity context.

updateView

fun updateView(view: View!, context: Context!): Unit

Updates the search suggestions UI view generated from populateView to match the most updated customization option.

Parameters
view: View!

the view to be updated.

context: Context!

Activity context.

Public properties