TODO : set temporary rider in AppModelLocator when RiderList item is clicked

This commit is contained in:
nekotoro committed 2025-12-10 21:57:25 +01:00
1 parent d0ab28556b
commit da6a89c848
5 files changed
+37 -19

No files matched your search

-1
View File
@@ -13,7 +13,6 @@ class AppController extends FrontController {
public static final CLOSE_DRAWER_EVENT = "closeDrawerEvent";
public static final RIDER_SELECT_EVENT = "riderSelect";
public function new() {
super();
addCommand(AppController.LOAD_RIDERS_EVENT, LoadRidersCommand);
+13
View File
@@ -0,0 +1,13 @@
package control;
import com.adobe.cairngorm.control.CairngormEvent;
import vo.RiderVO;
class RiderSelecEvent extends CairngormEvent {
public var selectedItem:RiderVO;
public function new(selectedItem:RiderVO) {
super(AppController.RIDER_SELECT_EVENT);
this.selectedItem = selectedItem;
}
}