Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Checkable instead of CompoundButton #40

Closed
wants to merge 1 commit into from

Conversation

pbreault
Copy link

@pbreault pbreault commented Mar 3, 2013

AbstractAQuery#checked(boolean) and AbstractAQuery#isChecked() now operate on the Checkable interface and not on the CompoundButton class.

This allows the method to work with CheckedTextView, RadioButton, Switch and every other class implementing the Checkable interface.

http://developer.android.com/reference/android/widget/Checkable.html

AbstractAQuery#checked(boolean) and AbstractAQuery#isChecked() now operate on the Checkable interface and not on the CompoundButton class.
This allows the method to work with CheckedTextView, RadioButton, Switch and every other class implementing the Checkable interface.

http://developer.android.com/reference/android/widget/Checkable.html
@2fast2fourier
Copy link

Is there any chance of merging this pull? I've ran into the same problem and this is a simple and quick fix.

@brk3
Copy link
Contributor

brk3 commented May 13, 2013

+1

@gebing
Copy link

gebing commented May 21, 2013

I make a pull request for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants