Skip to content Skip to sidebar Skip to footer

Is The Ischecked() Method Deprecated

Is the isChecked() method Deprecated? I am coding for android UI and using UiAutomator Framework there this mathod is not displayed I am trying to validate one uiobject through is

Solution 1:

I guess you are referring to a wrong documentation.

Please check this Link for UIObject class documentation.

I don't think isChecked() is deprecated. It can be used only on an UI Object who's node detail 'checkable'=>true

Solution 2:

I have similar problem except android studio wont even accept the method. I'm using a CheckedTextView and when I try to put

myCheckedTextView.isChecked()   

android studio tells me "cannot resolve method isChecked()" but has plenty of other suggestions as expected.

suspiciously isChecked() is the only method in the documentation that has no description besides the signature. http://developer.android.com/reference/android/widget/CheckedTextView.html#isChecked()

Post a Comment for "Is The Ischecked() Method Deprecated"