How to get checked radio button in list view?

前端 未结 3 673
广开言路
广开言路 2021-02-06 20:17

I want to get checked radio button from list view from list item like below image.

\"enter

3条回答
  •  星月不相逢
    2021-02-06 20:25

    I was making project for my collage attendence and i had faced same trouble as you , I solved these problem by just putting these code in my activity code is :-

    upload.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
              int child=listView.getChildCount();
              for(int i=0;i

提交回复
热议问题