If you find yourself needing to pass two values into setUserData
, you can just create a new class that holds both values- this is what we do in the Timeline Example by creating the Timelineinfo
class to hold both the bar and marker values.
If you find yourself needing to pass two values into setUserData
, you can just create a new class that holds both values- this is what we do in the Timeline Example by creating the Timelineinfo
class to hold both the bar and marker values.