之前一直用.trigger("updatelayout");来触发更新事件,但是在别的页面写了个类似的就不好用了后来又Google了一下使用listview对象的listview('refresh');方法就可以了