¡@

Home 

2014/10/16 ¤W¤È 08:14:13

android Programming Glossary: getrownum

How to fire two listeners on the tablelayout by one click: tablerow and its cell

http://stackoverflow.com/questions/11944889/how-to-fire-two-listeners-on-the-tablelayout-by-one-click-tablerow-and-its-cell

lineRow int i MyRowL mrl new MyRowL int rowNum 0 @Override public void onClick View v Log.d cxc CLICKED Line Row getRowNum @Override public void setRowNum int rowNum this.rowNum rowNum @Override public int getRowNum return this.rowNum mrl.setRowNum.. cxc CLICKED Line Row getRowNum @Override public void setRowNum int rowNum this.rowNum rowNum @Override public int getRowNum return this.rowNum mrl.setRowNum i lineRow.setOnClickListener mrl private void addCellListener View cell int i int j.. j MyCellL mcl new MyCellL int rowNum 0 int colNum 0 @Override public void onClick View v Log.d cxc CLICKED the cell getRowNum getColNum @Override public void setRowNum int rowNum this.rowNum rowNum @Override public int getRowNum return this.rowNum..