@Subcomponent cannot be done by @Singleton .
While the @Singleton bit vague in this matter, "singleton" canonically means "one per app." Because @Subcomponent is created using the factory method on the component, the only way your single-window instances would be "one per application" would be if the single-component sub-component was a child of the single-element component and its factory was only ever called once for each application. Implementation of this restriction is almost impossible, so the template will be just a likely source of errors.
source share