TODO find a way to populate fields of RiderCardDrawer vie (binding ?)
This commit is contained in:
1 parent
da6a89c848
commit
ca48bf8bc9
9 files changed
+100
-31
No files matched your search
@@ -15,7 +15,7 @@ class AppModelLocator extends EventDispatcher implements IModelLocator {
|
||||
public static final VIEWING_CHANGE:String = "viewingChange";
|
||||
public static final RIDERS_LIST_DP_CHANGE:String = "ridersListDPChange";
|
||||
public static final DRAWER_STATE_CHANGE:String = "drawerStateChange";
|
||||
public static final RIDER_SELECT:String = "riderSelect";
|
||||
public static final RIDER_SELECT_CHANGE:String = "riderSelectChange";
|
||||
|
||||
// this instance stores a static reference to itself
|
||||
private static var model:AppModelLocator;
|
||||
@@ -50,7 +50,7 @@ class AppModelLocator extends EventDispatcher implements IModelLocator {
|
||||
|
||||
private function set_selectedRider(pRider:RiderVO):RiderVO {
|
||||
selectedRider = pRider;
|
||||
dispatchEvent(new Event(AppModelLocator.RIDER_SELECT));
|
||||
dispatchEvent(new Event(AppModelLocator.RIDER_SELECT_CHANGE));
|
||||
return selectedRider;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user