📌  相关文章
📜  如何在颤动中刷新列表视图 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:00:57.894000             🧑  作者: Mango

代码示例1
// There has to be a setState() that is called, whenever you want to 
 // rebuild anything (your listView in this example).
 @override
  void didChangeDependencies() {
    super.didChangeDependencies();
    setState(() {
      updateListView();
    });
  }