---
title: "restartInput"
type: "property"
---
## API Reference

> Source set: Android

```kotlin
val restartInput =
            oldValue?.let {
                it.text != newValue.text ||
                    // when selection is the same but composition has changed, need to reset the
                    // input.
                    (it.selection == newValue.selection && it.composition != newValue.composition)
            } ?: false
```
