Skip to content

Instantly share code, notes, and snippets.

@loganj
Created August 31, 2010 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loganj/558890 to your computer and use it in GitHub Desktop.
Save loganj/558890 to your computer and use it in GitHub Desktop.
protected void onBindView(View view) {
super.onBindView(view);
View checkboxView = view.findViewById(com.android.internal.R.id.checkbox);
if (checkboxView != null && checkboxView instanceof Checkable) {
((Checkable) checkboxView).setChecked(mChecked);
// ...
}
// Sync the summary view
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment