Message-based view loading method, apparatus, device and storage medium
A view and message technology, applied in the computer field, can solve problems such as affecting user experience, taking a long time, and slowing down page startup speed, and achieve the effect of improving page startup speed and user experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] The message-based view loading method provided in this embodiment is applicable to the application startup situation based on the Android system. The method can be executed by a message-based view loading device, which can be implemented by software and / or hardware, and the device can be integrated in a device equipped with an Android system, such as a typical user terminal device, such as a mobile phone, a tablet computer or smart TV, etc. see figure 1 , the method of this embodiment includes:
[0046] S110. When receiving the function startup message that triggers the loading of the view, determine the target view identifier of the target view according to the function startup message.
[0047] The function startup message refers to the first message that triggers the control to execute the control function. The timing of sending the message is related to the specific business requirements. For example, it can be sent when the target view needs to be displayed, not ...
Embodiment 2
[0071] This embodiment provides a message-based view loading device, see figure 2 , the device specifically includes:
[0072] The target view identifier determination module 210 is configured to determine the target view identifier of the target view according to the function startup message when receiving the function startup message that triggers the loading of the view;
[0073] The target view protocol object acquisition module 220 is configured to use the target view identifier as an input parameter, call the object acquisition function through the object collection, and obtain the target view protocol object corresponding to the target view identifier, wherein the object collection is used to store the view identifiers and each view identifier. Each view identifier corresponds to the view protocol object, and the view protocol object is generated for the initial view class based on the predefined view loading protocol;
[0074] The target view loading module 230 is co...
Embodiment 3
[0090] see image 3 , this embodiment provides a device 300, which includes: one or more processors 320; a storage device 310 for storing one or more programs, when the one or more programs are executed by the one or more processors 320 , causing one or more processors 320 to implement the message-based view loading method provided by the embodiment of the present invention, including:
[0091] When receiving a function startup message that triggers view loading, determine the target view identifier of the target view according to the function startup message;
[0092] Taking the target view ID as the input parameter, the object acquisition function is called through the object collection to obtain the target view protocol object corresponding to the target view ID. The object collection is used to store each view ID and the view protocol object corresponding to each view ID. The protocol object is generated for the initial view class based on the predefined view loading prot...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com