How to get selected values in table row in android

前端 未结 1 1112
我在风中等你
我在风中等你 2021-01-25 20:58

I Had the table layout with 11 table rows and check boxes each table row i want to get selected check box row value and display in a toast message on Long clicking on selected r

1条回答
  •  醉梦人生
    2021-01-25 21:39

    TextView tv = (TextView)(((TableRow)table_row)).getChildAt(i); you problem

    Tre to remove "for(int i=1;i<11;i++){" with "for(int i=0;i<10;i++){"

    0 讨论(0)
提交回复
热议问题