Documentation / dataflow / com.femastudios.dataflow.listen / FieldListener
Go to reference

FieldListener

interface FieldListener<in T>

The callback called when a Field changes.

Functions

onFieldChanged

Method called when source changes

abstract fun onFieldChanged(source: Field<T>, newData: T): Unit

Inheritors

BaseDependentField

A basic implementation for fields that depend on other fields.

abstract class BaseDependentField<D, T> : BaseField<T>, FieldListener<D>