July 11, 20178 yr I'm trying to get the integer value of a widget. Do I convert string to integer? Or how should I approach this? Do I use the RootID to check whether it contains the number I need? This is the widget
July 11, 20178 yr Use the widget debugger to see where the number '21' is stored. Tho it's probably in the Message field. Then parse the message to int.
July 11, 20178 yr Author 32 minutes ago, FrostBug said: Use the widget debugger to see where the number '21' is stored. Tho it's probably in the Message field. Then parse the message to int. 30 minutes ago, HeyImJamie said: Use .getMessage of the Widget and then like Frost said, use Integer.parseInt() Fixed Apparently I was using the wrong widget Edited July 11, 20178 yr by Visty
Create an account or sign in to comment