//[ui](../../../index.md)/[com.yandex.payment.sdk.ui](../index.md)/[CardInput](index.md)/[setOnStateChangeListener](set-on-state-change-listener.md)

# setOnStateChangeListener

[ui]\
abstract fun [setOnStateChangeListener](set-on-state-change-listener.md)(listener: ([CardInput.State](-state/index.md)) -> Unit?)

Установить листенер для отслеживания смены состояний.
