setOnValueChangedListener

Sets a listened to invoke when the value of this preference changes.

Parameters

listener

the listener to invoke