在tableview中添加更多的行
基本上就是数据源里先只放10条, 点击最后一个cell时, 添加更多的数据到数据源中. 比如:数据源是个array:NSMutableArray *items;ViewController的这个方法返回...
TableLayout的动态添加和删除 - 泡在网上的日子
this.setContentView(R.layout.main); tableLayout = (TableLayout) this.findViewById(R.id.tableLayout); btnAdd = (Button) this.findViewById(R.id.btn...