Currently, a list of actions is added via an array of strings. Tapping on one of these actions then checks the value of the string to then run an associated method in the Graph class.
There must be a way to "attach" these methods to the actions in the list so that the string value does not need to be compared. The code is currently quite messy.
Currently, a list of actions is added via an array of strings. Tapping on one of these actions then checks the value of the string to then run an associated method in the Graph class.
There must be a way to "attach" these methods to the actions in the list so that the string value does not need to be compared. The code is currently quite messy.