i want to implement textwatcher for dynamically generated edittexts and want to get text in those edittexts
问题 protected void updateTable() { // TODO Auto-generated method stub final TableLayout tl = (TableLayout) findViewById(R.id.settingtable); tl.removeAllViews(); for(int i=0; i<10; i++) { final TableRow tablerow = new TableRow(this); tablerow.setLayoutParams(new LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT)); final TextView deviceedit = new TextView(this); deviceedit.setText(i+1); deviceedit.setTextColor(Color.BLACK); deviceedit.setGravity(Gravity.CENTER); deviceedit