commit
7d5445cd90
1 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,8 @@ public class IntermediatePointsDialog {
|
||||||
tv.setCompoundDrawablePadding(padding);
|
tv.setCompoundDrawablePadding(padding);
|
||||||
final CheckBox ch = ((CheckBox) v.findViewById(R.id.check_item));
|
final CheckBox ch = ((CheckBox) v.findViewById(R.id.check_item));
|
||||||
ch.setVisibility(View.VISIBLE);
|
ch.setVisibility(View.VISIBLE);
|
||||||
ch.setChecked(true);
|
ch.setOnCheckedChangeListener(null);
|
||||||
|
ch.setChecked(checkedIntermediates[position]);
|
||||||
ch.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
ch.setOnCheckedChangeListener(new OnCheckedChangeListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||||
|
|
Loading…
Reference in a new issue