Restore checked status

This commit is contained in:
str4d
2013-08-26 01:07:21 +00:00
parent 9a2382d886
commit a77674603a

View File

@ -66,6 +66,7 @@ public class SingleBooleanFragment extends Fragment {
((TextView) rootView.findViewById(R.id.wizard_text_field_desc)).setText(mPage.getDesc());
mCheckBox = ((CheckBox) rootView.findViewById(R.id.wizard_check_box));
mCheckBox.setChecked(mPage.getData().getBoolean(Page.SIMPLE_DATA_KEY));
if (mPage.getLabel() != null)
mCheckBox.setText(mPage.getLabel());
return rootView;