huangyanbin / smartTable

一款android自动生成表格框架---An Android automatically generated table framework
https://juejin.im/post/5a5dce7651882573256bd043
5.16k stars 858 forks source link

java.lang.IndexOutOfBoundsException: Index: 1, Size: 2 #288

Open lozn00 opened 2 years ago

lozn00 commented 2 years ago

竟然不支持删除一行?? getBinding().tableview.getTableData().getT().remove(row); MapTableData tableData = MapTableData.create("", getBinding().tableview.getTableData().getT()); getBinding().tableview.setTableData(tableData);// notifychange java.lang.IndexOutOfBoundsException: Index: 1, Size: 2 bleProvider.drawContent(TableProvider.java:333)


2021-11-18 10:48:42.501 6774-6774/ze: 2
        at java.util.ArrayList.get(ArrayList.java:437)
        at com.bin.david.form.component.TableProvider.drawContent(TableProvider.java:333)
        at com.bin.david.form.component.TableProvider.onDraw(TableProvider.java:79)
        at com.bin.david.form.core.SmartTable.onDraw(SmartTable.java:167)