Part implementation method and device
An implementation method and technology for components are applied in the field of component implementation methods and devices to achieve the effects of improving development efficiency and reducing development workload.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0044] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0045] figure 1 It is a flowchart of a component implementation method provided by an embodiment of the present invention, and its specific steps are as follows:
[0046]Step 101: For each component of the application, if the component needs to be implemented in the main project Application, an annotated class is generated for the component, the annotated class has an annotation interface, and the content of the annotation interface includes: component Identification, and whether the component needs to be implemented in the Application's attachBaseContext (attach base context) callback method.
[0047] Step 102: When the main project Application starts the attachBaseContext callback method, traverse all the annotated classes, if the annotation interface content of any annotated class indicates that the component needs to be implement...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


