你好我有这样的东西
TableLayout tblGrid = new TableLayout(getBaseContext());
for(int i = 0; i < 10; i++) {
EditText edtArticulo = new EditText(getBaseContext());
EditText edtCantidad = new EditText(getBaseContext());
EditText edtPrecio = new EditText(getBaseContext());
EditText edtSubtotal = new EditText(getBaseContext());
CheckBox chbSeleccion = new CheckBox(getBaseContext());
TableRow tbrRenglon = = new TableRow(getBaseContext());
tbrRenglon.addView(chbSeleccion, 0);
tbrRenglon.addView(edtArticulo, 1);
tbrRenglon.addView(edtCantidad, 2);
tbrRenglon.addView(edtPrecio, 3);
tbrRenglon.addView(edtSubtotal, 4);
}
tblGrid.addView(tbrRenglon);
我的问题是我在 tablerows 组中找不到选中的复选框
我需要一些帮助