Event transfer method and device, medium and product
By passing the view object data in the event response chain between view objects and combining the data dependencies, the difficulties in maintaining the hierarchical relationship between view and view controller and the low efficiency of event delivery in the prior art are solved, and the rapid transmission and accurate processing of events are achieved.
Patent Information
- Application Number
- CN202411750790.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-21
AI Technical Summary
In the prior art, application developers need to pre-maintain the hierarchical relationship between the view and the view controller, resulting in large code storage space and heavy burden on developers, and low event delivery efficiency.
By obtaining the interactive operation-related view object data from the data collection point of the first view, and using the event response chain to carry the view object data for event transmission, combined with the data dependency, the view object data does not depend on the preamble view object data when the tail view object is processed, and the rapid transmission of events is achieved.
Without relying on the hierarchical relationship between view objects pre-maintained by developers, event delivery is more efficient. The tail view object can handle event based on accurate view object data, further realizing the rapid transmission of events.