RidersList and ToolBar sizing done

TODO : cast ListViewItemState.data into RiderVO
This commit is contained in:
2025-11-25 13:46:20 +01:00
parent fd5eaac4c6
commit 6f62c3ad53
13 changed files with 472 additions and 220 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ package command;
import t9.util.ColorTraces;
import openfl.Vector;
import vo.Rider;
import vo.RiderVO;
import feathers.data.ArrayCollection;
import openfl.Lib;
import haxe.DynamicAccess;
@@ -29,7 +29,7 @@ class LoadRidersCommand implements ICommand implements IResponder {
public function result(rpcEvent:Dynamic):Void {
// populate the riders DP in the model locator with the JSON results from the service call
var riders:Array<Rider> = cast(rpcEvent, ResultEvent).result;
var riders:Array<RiderVO> = cast(rpcEvent, ResultEvent).result;
model.ridersListDP = new ArrayCollection(riders);
traceGreen("ridersListDP.length --> " + model.ridersListDP.length);