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
+3 -3
View File
@@ -1,6 +1,6 @@
package model;
import vo.Rider;
import vo.RiderVO;
import feathers.data.ArrayCollection;
import openfl.errors.Error;
import openfl.events.Event;
@@ -57,9 +57,9 @@ class AppModelLocator extends EventDispatcher implements IModelLocator {
// contains the main riders list which is populated on startup
// mx:application's creationComplete event is mutated into a cairngorm event
// that calls the httpservice for the data
public var ridersListDP(default, set):ArrayCollection<Rider>;
public var ridersListDP(default, set):ArrayCollection<RiderVO>;
private function set_ridersListDP(value:ArrayCollection<Rider>):ArrayCollection<Rider> {
private function set_ridersListDP(value:ArrayCollection<RiderVO>):ArrayCollection<RiderVO> {
ridersListDP = value;
dispatchEvent(new Event(RIDERS_LIST_DP_CHANGE));
return ridersListDP;