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

Checklable views fix #24

Merged
merged 1 commit into from
Jul 14, 2015
Merged

Checklable views fix #24

merged 1 commit into from
Jul 14, 2015

Conversation

leosimas
Copy link
Contributor

Call the setChecked when the content view implements Checkable.
Trying to fix #22

Call the setChecked when the content view implements Checkable
@Override
public void setChecked(boolean checked) {
this.checked = checked;
if ( contentView != null && contentView instanceof Checkable ) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpicking mode: can you remove the spaces after the if brackets?

@wdullaer
Copy link
Owner

This is exactly what I had in mind myself. I just didn't get around to it yet.
Glad you can confirm that this solves the issue.

I've added some nitpicks on code style, just to keep everything consistent. If you can change those, I'll merge this right away.

@wdullaer wdullaer merged commit 2004164 into wdullaer:master Jul 14, 2015
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.

ListView.CHOICE_MODE_MULTIPLE_MODAL issue
2 participants