[android-components](../../index.md) / [mozilla.components.feature.contextmenu](../index.md) / [DefaultSelectionActionDelegate](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`DefaultSelectionActionDelegate(searchAdapter: `[`SearchAdapter`](../../mozilla.components.feature.search/-search-adapter/index.md)`, resources: <ERROR CLASS>, appName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, shareTextClicked: (`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` = null)`

Adds normal and private search buttons to text selection context menus.

