Jump to content

Get integer value of a widget.


Recommended Posts

Posted (edited)
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 :think:

Edited by Visty

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...