Customize the existing implementation
All InstantSearch widgets are built through composition. This enables you to adapt the underlyingView
and add the behavior you want on top of the existing implementation.
For example, here’s how you can have a SearchBoxViewImpl
that always displays its content uppercase:
Kotlin
Implement your own View
When you want to replace the existing behavior of a default implementation, you should implement your ownView
.
Example
Here is a custom SearchBoxViewKotlin