Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, storage medium, device and system for synchronous communication between title bar and popup bar

A technology of synchronous communication and title bar, which is applied in the direction of program synchronization, inter-program communication, program control design, etc., can solve the problems of difficulty in message tracking, low practicability, and high resource overhead, etc., to improve scalability and scalability Maintainability, reduce strong coupling relationship, simple and clear structure

Active Publication Date: 2020-05-12
WUHAN DOUYU NETWORK TECH CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) Since the communication hierarchy structure of EventBus is relatively complex, there is a problem that it is difficult to track messages;
[0006] (2) Due to the need to introduce third-party frameworks into existing system projects, and third-party frameworks usually contain thousands of lines of code or even tens of thousands of lines of code, this method adds thousands of lines of tens of thousands of lines to the project in order to realize a small function The code method is undoubtedly not very practical, and the additional thousands of lines of code will not only increase the complexity of the project but also cause disadvantages such as high resource overhead

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, storage medium, device and system for synchronous communication between title bar and popup bar
  • Method, storage medium, device and system for synchronous communication between title bar and popup bar
  • Method, storage medium, device and system for synchronous communication between title bar and popup bar

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0035] see figure 1 As shown, the embodiment of the present invention provides a method for synchronous communication between the title bar and the pop-up frame bar, and the method includes the following steps:

[0036] Step S1, setting of the title bar and the pop-up bar: set the title bar and the pop-up bar so that both the title bar and the pop-up bar use the title element container to carry the title element information, and pass the corresponding Data adapters to listen for click events on the respective header elements.

[0037] For example, taking the operating system as an Android system as an example, in one embodiment, the title element container may be a RecycleVIew container provided by the Android system, and the data adapter may be an Android adapter Adapter (hereinafter referred to as for Adapter). The biggest featur...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Disclosed are a method, device and system for synchronous communication between a title bar and a pop-up bar, and a storage medium, wherein same relate to the technical field of application program development. The method comprises: setting both the title bar and the pop-up bar to bear information about title elements using a title element container, and monitoring click events of the respective title elements through data adapters corresponding to the respective title element containers; when it is monitored that a certain title of the title bar is clicked on, forwarding corresponding click event information to a current page, and then forwarding same to the title element container of the pop-up bar through the current page; and when it is monitored that a certain title of the pop-up bar is clicked on, forwarding the corresponding click event information to the current page, and then forwarding same to the title element container of the title bar through the current page. The invention can realise synchronous communication between the tab bar and the pop-up bar. The hierarchical structure of communication is simple and clear, the information is easy to track, and a third-party communication framework does not need to be introduced, and the resource overhead is low.

Description

technical field [0001] The invention relates to the technical field of application program development, and specifically relates to a method, a storage medium, a device and a system for synchronous communication between a title bar and a pop-up frame bar. Background technique [0002] At present, secondary menus are usually used in the development and design of various APPs (Applications). The so-called secondary menu means that menu buttons can be pulled down to select a menu. In the design of the second-level menu page of the application, the developer will design a title bar for the second-level menu page. The title bar is used to classify the second-level menu pages, and each category is a title. When there are a lot of titles, you need to slide left and right, which is cumbersome and not easy to view. Therefore, current developers usually design a pop-up frame bar, that is, click the button on the right side of the title bar to pop up A drop-down box, the content of th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/52G06F9/54
CPCG06F9/52G06F9/541
Inventor 张磊陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products