-
public interface ScrollListenerAllows for listening to a chart’s scroll state.
-
-
Method Summary
Modifier and Type Method Description UnitonValueChanged(Float oldValue, Float newValue)Called when the scroll amount changes. UnitonMaxValueChanged(Float oldMaxValue, Float newMaxValue)Called when the maximum scroll amount changes. UnitonScrollNotConsumed(Float delta)Called when the scroll has reached the limit and cannot be consumed further. -
-
Method Detail
-
onValueChanged
Unit onValueChanged(Float oldValue, Float newValue)
Called when the scroll amount changes.
-
onMaxValueChanged
Unit onMaxValueChanged(Float oldMaxValue, Float newMaxValue)
Called when the maximum scroll amount changes.
-
onScrollNotConsumed
Unit onScrollNotConsumed(Float delta)
Called when the scroll has reached the limit and cannot be consumed further.
-
-
-
-