RidersList and ToolBar sizing done
TODO : cast ListViewItemState.data into RiderVO
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user