Package 

Class DelegatesKt

  • All Implemented Interfaces:

    
    public final class DelegatesKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends Any> ReadWriteProperty<Object, T> observableWhenChanged(T initialValue, Function3<KProperty<?>, T, T, Unit> onChange) A delegate which runs a callback whenever the setter is called and it results in the value changing.
      final static <T extends Any> ReadWriteProperty<Object, T> observableWhenChanged(T initialValue, Function0<Unit> onChange) A delegate which runs a callback (with no arguments) whenever the setter is called and it results in the value changing.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait