I have written a program (DBMS) with 3 views (for example V1, V2 and V3). I know that every symbian project should follow MVC pattern in which the Controller is used to manage all actions such as clicking phone buttons, joystick and such things. In my program, DBMSAppui.cpp manages navigating between views. In V1, I Show some items in a listbox and after clicking (Options -> Show Details) I navigate to V2 and show the details in another listbox.
As you see by clicking Options -> Show Details the Controller (DBMSAppui.cpp->changeview) activates and destroys V1 and shows V2.
My problem is that I wonder how can I perform navigation by selecting an item of listbox (for example in V1) and clicking OK button and handle it inside V1 (using OfferKeyEventL method). I can not destroy V1 without going through DBMSAppui and show V2. I Also can not create an instance of DBMSAppui inside V1 because it is already presents and manages the events.