initData method

  1. @override
Future initData()
override

数初始化页面数据 刷新页面调用refreshData

Implementation

@override
Future initData() async {
  _pageNo = 1;
  hasMore = true;
  await loadData();
}