jupitar
jupitar
table.post(() -> { int tableHeight = table.getTableData().getTableInfo().getTableRect().bottom; LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) table.getLayoutParams(); params.height = tableHeight + 60; table.setLayoutParams(params); }); 可以试试这个,但是最好加一下延迟。亲测有效
我开始使用的是这个加 app:srlFooterTranslationViewId="@+id/recyclerview",也不行,才换成固定的控件的
同问
上面代码@com.bin.david.form.annotation.SmartTable;无法通过