Closed GoogleCodeExporter closed 8 years ago
Why do you try to extend a child module? Could you post your code?
The child module is an interface that Mvp4g will implement. The only method you
provide is the setParentModule that allows the framework to know the class of
parent
module.
In your case if module A is the parent of module B, then module A should have
this
method:
//I assume that parent of Module A is the main module
void setParentModule(Mvp4gModule parentModule);
and module B should have this method:
void setParentModule(ModuleA parentModule);
Original comment by plcoir...@gmail.com
on 21 May 2010 at 12:35
I tried to extend a child Module as I was working on how to achieve creation of
child
module from another child Module.
With this comment I attached the code to achieve creation of child module from
another child module.
The error I faced were:
1. When I didn't extend the child Module
10:52:42.945 [ERROR] [trialmvp4g] Line 37: The method setParentModule(IssueModule)
in the type ActionModule is not applicable for the arguments (Mvp4gModule)
2. When I extend the child module
10:54:57.527 [ERROR] [trialmvp4g] Line 15: The type ActionModuleImpl must
implement
the inherited abstract method IssueModule.setParentModule(Mvp4gModule)
Original comment by jiunara...@gmail.com
on 26 May 2010 at 5:36
Attachments:
Me too face the same problem .. Have any solution for this?
Original comment by stsiva...@gmail.com
on 26 May 2010 at 5:45
An issue has been reported for case 1: Issue 25
(http://code.google.com/p/mvp4g/issues/detail?id=25). You can download the last
snapshot of Mvp4g 1.2.0, the issue has been solved.
Case 2 will not work because setParentModule allows you to configure the parent
module but ActionModule & IssueModule can't have the same parent module since
ActionModule is a child of IssueModule.
Original comment by plcoir...@gmail.com
on 27 May 2010 at 1:09
I went through the Mvp4g 1.2.0. I can't get the idea of activate and deactivate
concept from the Mvp4gModules example. It enhances the history converter and
added a
new gin and guice. Could you help me in explaining the new attribute of Event
annotation "activate " and "deactivate"?
Original comment by jiunara...@gmail.com
on 27 May 2010 at 11:05
Here is the discusion about this feature:
http://groups.google.com/group/mvp4g/browse_thread/thread/76e36c0cbc59d3ec/c2211
f3944
c9f6a9?lnk=gst&q=activate#c2211f3944c9f6a9
Let me know if you have any question, thanks
Original comment by plcoir...@gmail.com
on 28 May 2010 at 11:29
Original comment by plcoir...@gmail.com
on 13 Sep 2010 at 5:16
Original issue reported on code.google.com by
jiunara...@gmail.com
on 21 May 2010 at 11:55