ShowUserListView static method
Future<void>
ShowUserListView(
- dynamic params
)
Implementation
static Future<void> ShowUserListView(dynamic params) async {
Log.i(tag, "ShowUserListView:$params");
//更新用户数据(id,账号,名称,状态)
pocChangeNotifier.setStatus(Constant.PocStatus_Online);
pocChangeNotifier.setId(params[0]);
pocChangeNotifier.setAccount(params[1]);
pocChangeNotifier.setName(params[2]);
pocChangeNotifier.setOfflineCode(-1);
//获取定位间隔
int gpsInterval = await GetGpsInterval();
pocChangeNotifier.setGpsInterval(gpsInterval);
PermissionHandler.requestStoragePermission();
PermissionHandler.requestManageExternalStoragePermission();
}