I'm currently implementing a Hyperloop lib that uses the native EditText widget.
The EditText widget holds its value in an instance of the Editable class. When you want to get this value, all you have to do is:
The problem that I'm facing is that the Editable implementation of toString() is not accessible with Hyperloop.
Create a Hyperloop enabled project and require the android.text.Editable class in any controller:
Build and run the project. Go to the /build/hyperloop/android/js folder and look for the android.text.Editable file. You'll notice that the generated toString() method is not calling the native toString() function like this:
Instead, this is what's being generated:
This basically blocks you from using any widget/component that stores its data in an Editable instance, since the value of toString() will always be [object android.text.Editable]