You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (curve instanceof android.view.animation.Interpolator)
was returning false for instances of android.view.animation.PathInterpolator.
The Interpolator is a java interface that is implemented by the PathInterpolator java class. Is there a better way to handle this?
Is instanceof working when checking if JavaScript objects implement a java interface?
* Add test for instanceof works for interfaces. NativeScript/android#739
* Update android_runtime_tests.py
* Update android_runtime_tests.py
* Update android_runtime_tests.py
In the android runtime:
was returning false for instances of
android.view.animation.PathInterpolator
.The Interpolator is a java interface that is implemented by the PathInterpolator java class.
Is there a better way to handle this?
Is
instanceof
working when checking if JavaScript objects implement a java interface?If it is not implemented, Symbol.hasInstance may be helpful.
The text was updated successfully, but these errors were encountered: