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