title: How can I select one option out of 4? I am building quiz app
body: <ol>
  <li>This is what I try , what i know .</li>
  <li>please give me a right approach so i can proceed.</li>
  </ol>
  <pre><code>data class OptionState(
      val option : Options = Options.OPTION1) {
  
      enum class Options(
          val optionSelected : Boolean = false) {
          OPTION1(false),
          OPTION2(false),
          OPTION3(false),
          OPTION4(false)
      }
  }
  
  
  @Composable
  fun AvailOptions(
      optionState: OptionState ,
      onSelect : (OptionState.Options) -&gt; Unit
  ) {
      val (optionButton , setOptionButton) = remember {
          mutableStateOf(
              OptionState.Options.values().indexOf(optionState.option)
          )
      }
  
  
      Column(
          modifier = Modifier,
          verticalArrangement = Arrangement.spacedBy(8.dp)
      ) {
      PossibleAnswer(optionText = &quot;option  1&quot; )
      PossibleAnswer(optionText = &quot;option  2&quot; )
      PossibleAnswer(optionText = &quot;option  3&quot; )
      PossibleAnswer(optionText = &quot;option  4&quot; )
  
      }
  }
  </code></pre>