![](/img/trans.png)
[英]How to get the text from radio button in a radio group when radio button checked state is changed
[英]How to set checked radio button state . not using radio group
我有2個片段-片段A和片段B。在片段RadioButton設置在RecyclerView上。 當我單擊單選按鈕,然后轉到片段B。之后,當我們再次在片段A上移動時,單選按鈕顯示未選中。 我不是廣播集團的成員。 謝謝。
radioButton.isChecked();
radioButton.setChecked(true/false);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.