@Override protected void showAttempt(Attempt attempt){
  Dataset dataset=attempt.getDataset();
  if (dataset == null)   return;
  List<String> options=dataset.getOptions();
  if (options == null || options.isEmpty())   return;
  choiceContainer.removeAllViews();
  for (  String option : options) {
    StepikOptionView optionViewItem;
    if (dataset.is_multiple_choice()) {
      optionViewItem=new StepikCheckBox(getActivity());
    }
 else {
      optionViewItem=new StepikRadioButton(getActivity());
    }
    buildChoiceItem(optionViewItem,option);
  }
}

@ Override protected void showAttempt ( Attempt attempt ) { Dataset dataset = attempt . getDataset ( ) ; if ( dataset == null ) return ; List < String > options = dataset . getOptions ( ) ; if ( options == null || options . isEmpty ( ) ) return ; choiceContainer . removeAllViews ( ) ; for ( String option : options ) { StepikOptionView optionViewItem ; if ( dataset . is_multiple_choice ( ) ) { optionViewItem = new StepikCheckBox ( getActivity ( ) ) ; } else { optionViewItem = new StepikRadioButton ( getActivity ( ) ) ; } buildChoiceItem ( optionViewItem , option ) ; } }
it is unique for each attempt type
