Calling a function in the view from the delegate class

What I have here is a snippet of what I'm trying to do. Within an app, I have the main view class, and an input delegate to catch user input. From within the delagate ("onMenu" in this case, I want to call a function in the view class..

class MyView extends Ui.View {

function myFunct() {
//do something here
}
}

class MyViewDelegate extends Ui.BehaviorDelegate {

function onMenu() {
//I want to call myFunct() in MyView here
//any way to do it????
}
}


Is there any way to do this??
  • nice!! that worked for me! not sure this does what I want - the ability to actually START a data field activity by tapping the START region of the screen... but now from the tap delegate, I can call onTimerStart(). using your global flag hack. will have to see on my EDGE if this actually begins the activity.

    NVM - of course that won't work :-) But at least I now have a way to call functions from MyViewDelegate if I ever want to.