How can I write this switch statement? I want make two statements for the items below.
public boolean onPrepareOptionsMenu(Menu menu) {
switch(?????){
case ?????:
}
}
MenuItem log = menu.findItem(R.id.action_Log);
log.setChecked(isChecked);
MenuItem sound = menu.findItem(R.id.action_Sound);
sound.setChecked(isChecked);