使用smartTable的 table.setData()方法报错,找不到

使用smartTable的 table.setData()方法报错,找不到

今天使用了SmartTable表格框架GitHub: https://github.com/huangyanbin/smartTable
但是在使用过程中出现了问题,在调用table.setData()方法时报错,显示红色,找不到该方法,如图:
使用smartTable的 table.setData()方法报错,找不到
报错原因:在Activity中导入的SmartTable包错误:使用smartTable的 table.setData()方法报错,找不到

将:import com.bin.david.form.annotation.SmartTable;改为import com.bin.david.form.core.SmartTable;成功解决:
使用smartTable的 table.setData()方法报错,找不到