S shashkiranr Active Member Licensed User Longtime User Jan 8, 2016 #1 Hi All, I am trying to create a seekbar with only three states/stages. I found a stackoverflow thread which uses onStopTrackingTouch method of seekbar to handle the values. How can i implement this in b4a. Here is the link for stackoverflow http://stackoverflow.com/questions/11920704/android-multi-state-switch Kindly let me know you suggestions. Best, SK
Hi All, I am trying to create a seekbar with only three states/stages. I found a stackoverflow thread which uses onStopTrackingTouch method of seekbar to handle the values. How can i implement this in b4a. Here is the link for stackoverflow http://stackoverflow.com/questions/11920704/android-multi-state-switch Kindly let me know you suggestions. Best, SK
Erel B4X founder Staff member Licensed User Longtime User Jan 8, 2016 #2 See the attached MultiStateSeekBar class. Attachments MultiStateSeekBar.zip MultiStateSeekBar.zip 8.1 KB · Views: 475 Upvote 0
S shashkiranr Active Member Licensed User Longtime User Jan 10, 2016 #3 Thank you @Erel . This will work. Just out of curiosity, can the method onStopTrackingTouch be implemented using reflection or javaobject or inline java? Upvote 0
Thank you @Erel . This will work. Just out of curiosity, can the method onStopTrackingTouch be implemented using reflection or javaobject or inline java?
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2016 #4 It can be implemented with JavaObject.CreateEvent however it is not so simple. Upvote 0