CN117055989A - Display method, electronic device, and computer-readable storage medium - Google Patents

Display method, electronic device, and computer-readable storage medium Download PDF

Info

Publication number
CN117055989A
CN117055989A CN202310861576.6A CN202310861576A CN117055989A CN 117055989 A CN117055989 A CN 117055989A CN 202310861576 A CN202310861576 A CN 202310861576A CN 117055989 A CN117055989 A CN 117055989A
Authority
CN
China
Prior art keywords
list item
view
list
electronic device
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310861576.6A
Other languages
Chinese (zh)
Inventor
王剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310861576.6A priority Critical patent/CN117055989A/en
Publication of CN117055989A publication Critical patent/CN117055989A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Graphics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application relates to a display method, electronic equipment and a computer readable storage medium. In the method, the electronic device may store the view tree of the list item in the memory when constructing the view tree of the list item. Therefore, when the electronic equipment needs to display the list items, the view tree of the list items does not need to be reconfigured, and only the view tree of the list items to be displayed needs to be fetched from the memory, so that the time for displaying the list items is shortened. By implementing the technical scheme provided by the application, when the electronic equipment receives the operation of the user sliding list, the list items displayed on the display screen can be changed more quickly in response to the user operation, and the experience of the user sliding the list items is improved.

Description

Display method, electronic device, and computer-readable storage medium
Technical Field
The present application relates to the field of terminals, and in particular, to a display method, an electronic device, and a computer-readable storage medium.
Background
The user interface of many applications employs a list layout, i.e., contains a list view. The list view presents a plurality of data contents in a list form and is capable of adapting a display screen display according to the length of the data contents. When the length of the data content exceeds the display screen, part of the data content is hidden, and the list view can provide a sliding bar or a sliding function, so that a user can flip the hidden data content of the list view by controlling the sliding bar or sliding the list view up and down. However, when a user slides the list view to view hidden content, the display of data content in the list view may appear stuck.
Disclosure of Invention
The application provides a display method, an electronic device and a computer readable storage medium. The electronic device may obtain data for a plurality of list items in the list and construct a view tree of the list items, and the electronic device may then store the view tree of the list items in the memory. When the electronic device needs to update the list items displayed in the user interface in response to an operation of the user sliding the list, the view of the list items to be displayed can be directly fetched from the memory without having to reconstruct the view tree. Therefore, the electronic equipment updates list items in the user interface faster when the user slides the list, and the phenomenon of clamping in the process of sliding the list by the user is avoided.
In a first aspect, the present application provides a display method, which is applied to an electronic device, the method including: the electronic device displays a first user interface, the first user interface including a first list, first list items in the first list being displayed, the first list items being part of the list items in the first list, each list item in the first list including one or more sub-views; the electronic equipment stores view description information of a second list item into a first memory, wherein the second list item is part of list items in the first list, and the second list item comprises the first list item and a hidden third list item; the electronic equipment detects a first user operation for checking the third list item, and the view description information of the third list item is fetched from the first memory; the electronic device displays the third list item in the first list based on the view description information of the third list item; wherein the view description information includes one or more items of information of the sub-views: position, size, shape.
Wherein a view of a first list may be displayed in the first user interface, list items in the first list may include second list items, and view description information of the second list items may be stored in the first memory. Wherein the second list item comprises the first list item displayed in the user interface and the third list item not displayed (i.e. hidden) in the user interface. When the electronic equipment receives a first user operation of checking the third list item by a user, the view description information of the third list item can be taken out of the first memory, and then the third list item is displayed on the user interface based on the view description information of the third list item. The first user operation may be an operation of sliding a view of the first list displayed in the user interface. The list item may include one or more sub-views, and view description information of the list item mainly describes one or more of a position of the sub-view in the list item, a size of the sub-view, and a shape of the sub-view. The first memory may be a buffer memory in the electronic device, or may be a plurality of memory units in different memories, and the first memory may be integrated in the central processing unit or may be a separate component.
With reference to the first aspect, in some embodiments, the electronic device stores view description information of the second list item in the first memory, specifically including: the electronic equipment constructs view description information of the second list item into a view tree of the second list item, wherein one or more items of information in the position, the size and the shape of one sub view form a tree node; the electronic device stores the view tree of the second list item in the first memory.
Wherein the view description information stored by the electronic device to the first memory may be stored in a tree data structure. The electronic device may construct a view tree of the list items based on the view description information of the list items and then store the view tree in the first memory. Each tree node in the view tree corresponds to one or more of the location, size, shape of a sub-view in the stored list item.
The electronic device may store a view tree constructed from view description information of the list items in the memory. When the electronic device receives that the operation of the user sliding list needs to display different list items in the user interface, the electronic device can acquire the view tree of the stored list items from the memory, process the view tree of the list items and update the list items displayed in the user interface. Therefore, when the user slides the list, the electronic equipment can update the list items displayed in the list more quickly, and the user interface displayed on the display screen is prevented from being blocked when the user slides the list.
With reference to the first aspect, in some embodiments, the first list may include list items of a sub-view that differ by one or more of: the sub-views are different in position, size, shape and number.
When the sub-views in the first list are different, the electronic device needs to construct a different view tree for each list item. The electronic device may store the view tree of the list items in the first memory, such that no reconstruction is required when the list items are displayed. Storing the view tree of list items in the first memory may thus more significantly increase the speed at which the electronic device displays different list items at the user interface in response to operation of the user-sliding list when the sub-views in the list items are different.
In combination with the first aspect, in some embodiments, the third list item is added to the first list earlier than the first list item.
Taking the embodiment shown in fig. 4A and 4B as an example, the third list item may include list item 1 and list item 2, and the first list item may include list item 3, list item 4, list item 5, and list item 6. The first list item may correspond to a newly updated chat record and the third list item may correspond to a chat record updated prior to the first list item. And the electronic equipment receives the operation of downwards sliding the list by the user, and can read the view description information of the third list item from the first memory, so that the third list item is displayed in the display screen.
With reference to the first aspect, in some embodiments, the method further includes: the electronic device detecting a second user operation acting on a third list item; the electronic device updates the view description information of the third list item stored in the first memory, and changes the display appearance of the third list item, and the updated view description information of the third list item accords with the changed display appearance of the third list item.
Wherein changing the display appearance of the third list item comprises one or more of: changing the position of the sub-view, changing the size of the sub-view, changing the shape of the sub-view, adding the sub-view, and subtracting the sub-view.
The electronic device may receive a second user operation on the third list item, which may change the display appearance of the third list item. Taking the user interface shown in fig. 4E as an example, the electronic device may receive an operation that the user clicks the loading picture in the list item 2 view, and further the electronic device may receive updated view description information of the list item 2, where the information is used to change the loading picture in the list item 2 view in fig. 4E to the picture of the puppy in the list item 2 view shown in fig. 4F. Since the loading picture and the puppy picture are different in size, the sub-views for displaying the pictures in list item 2 from fig. 4E to fig. 4F are changed in size. The electronic device may delete the view description information of the list item 2 stored in the first memory, then reconstruct the view tree of the list item 2 according to the updated view description information of the list item 2, and store the view tree of the list item 2 in the first memory.
That is, when the view description information of the list item is changed, the view description information stored in the memory is not available for display, and the electronic device can delete the view description information stored in the memory to avoid wasting storage resources.
With reference to the first aspect, in some embodiments, the method further includes: the electronic equipment detects an update message of a first application program, wherein the first application program is an application program for providing a first user interface, and the update message is used for indicating a third list item to be updated; the electronic device updates view description information of the third list item stored in the first memory.
The electronic device may receive an update message for the first application, which may indicate that the display appearance of the third list item has changed. The electronic device may delete the view tree constructed from the view description information of the third list item stored in the memory and receive the updated view description information of the third list item, and then the electronic device may construct the view tree from the updated view description information of the third list item and store the newly constructed view tree in the memory, with one or more tree nodes in the view tree being changed before and after the reconfiguration.
With reference to the first aspect, in some embodiments, the method further includes: the electronic equipment detects a third user operation for deleting the third list item; the electronic device removes view description information of the third list item deleted by the third user operation from the first memory.
When the electronic device detects a user operation to delete the third list item, the view description information of the third list item stored in the first memory no longer needs to be used for display. The electronic equipment can delete the view description information of the third list item from the first memory, so that the waste of storage resources is avoided.
With reference to the first aspect, in some embodiments, the method further includes: the electronic equipment detects a fourth user operation for checking a fourth list item, wherein the fourth list item is not included in the second list item; the electronic device stores view description information of the fourth list item in the first memory.
In combination with the first aspect, in some embodiments, the electronic device may display a first hint at the top of the third list item, the first hint indicating that the fourth list item is being loaded.
The fourth list item may be a list item earlier than the second list item, and the electronic device may display a first prompt message at the top of the third list item, indicating that the fourth list item is being loaded. Meanwhile, the electronic equipment can acquire the view description information of the fourth list item and construct a view tree of the fourth list item according to the view description information of the fourth list item. Finally, the electronic equipment can store the view tree of the newly constructed fourth list item into the first memory, so that when the electronic equipment receives the sliding operation of displaying the fourth list item, the electronic equipment can directly take out view description information of the fourth list item from the first memory for processing, and the phenomenon of clamping when the fourth list item is displayed is avoided.
With reference to the first aspect, in some embodiments, the method further includes: the electronic device detecting that the available capacity of the first memory is less than a first threshold and/or that the number of list items stored in the first memory exceeds a second threshold; the electronic equipment deletes the view description information of the list items which are not updated and have the storage time exceeding the first time length and exceeding the second time length from the first memory, or deletes the view description information of the list item which is farthest from the fourth list item from the list items which are not updated and have the third time length.
The electronic equipment can delete the view description information of one or more list items meeting the conditions, so that the waste of storage resources is avoided. Or before the electronic device stores the view description of the fourth list item in the first memory, the view description information of the list item farthest from the fourth list item in the list items which are not updated in the third time period can be screened out. The electronic device is typically displaying the fourth list item in the user interface while storing the view description of the fourth list item. The time of the list item is far from the list item being displayed, so that the probability of displaying it in the user interface is low. The electronic device can delete the list item as view description information, so that the waste of storage resources is avoided.
With reference to the first aspect, in some embodiments, the method further includes: the electronic device detects an event of adding a list item to the first list, and the electronic device stores view description information of the added list item in the first memory.
The electronic device may detect an operation of adding an event of a list item to the first list, for example, an instant messaging application, where the event of adding the list item may be an event of receiving a new message, and the electronic device may construct a view tree according to view description information corresponding to the new message, and further store the view tree in a memory.
In a second aspect, the present application provides an electronic device comprising a display screen, a memory, and a processor coupled to the memory; the display screen is used for displaying an interface, the memory stores a computer program, and the processor executes the computer program to enable the electronic device to implement the method according to any one of the first aspect.
In a third aspect, the present application provides a computer readable storage medium storing a computer program or computer instructions for execution by a processor to implement the method of any one of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer program product which, when executed by a processor, implements a method according to any of the first aspects.
In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a memory, wherein the memory is configured to store a computer program or computer instructions, and the processor is configured to execute the computer program or computer instructions stored in the memory, so that the chip performs the method according to any one of the first aspect.
The solutions provided in the second aspect to the fifth aspect are used to implement or cooperate to implement the methods correspondingly provided in the first aspect, so that the same or corresponding beneficial effects as those of the corresponding methods in the first aspect can be achieved, and no further description is given here.
Drawings
FIGS. 1A-1B are schematic views of some user interfaces including list views provided by embodiments of the present application;
fig. 2A is a schematic architecture diagram of an electronic device 100 according to an embodiment of the present application;
FIG. 2B is a schematic diagram of list data content provided by an embodiment of the present application;
FIG. 2C is a schematic diagram of a view tree provided by an embodiment of the present application;
Fig. 3 is a software block diagram of the electronic device 100 according to the embodiment of the present application;
FIGS. 4A-4F are exemplary diagrams of some user interfaces and view trees stored in a cache provided by embodiments of the present application;
FIG. 5 is a flow chart of a display method according to an embodiment of the present application;
FIG. 6 is a flow chart of one implementation of a display method provided by an embodiment of the present application;
fig. 7A-7C are schematic diagrams illustrating some exemplary processes for processing a list item view tree according to embodiments of the present application.
Detailed Description
The terminology used in the following embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates to the contrary. It should also be understood that the term "and/or" as used in this disclosure refers to and encompasses any or all possible combinations of one or more of the listed items.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature, and in the description of embodiments of the application, unless otherwise indicated, the meaning of "a plurality" is two or more.
The user interface displayed by the electronic device is composed of views (views). The views may include a base view and a view group. Where the base view is a control that can be displayed independently, such as a text control (TextView), edit box (edit text), button (Button), etc. A View Group (View Group) is a container of views in which a base View may be stored or in which a Group of views may also be nested. The view group may display the base view or view group in a particular layout. Wherein a list View is one of a View group, the list View may include one or more slidable list Item views (Item views).
1A-1B illustrate one type of user interface that includes a list view.
As shown in fig. 1A-1B, the user interface may be a chat interface of an instant messaging application. Wherein the chat content shown in fig. 1A occurs before the chat content shown in fig. 1B.
Along with the chat interface, the electronic device may also display a status bar 104 of the system. One or more pieces of status information, such as signal strength, power, system time, etc., of the electronic device 100 may be displayed in the status bar 104.
As shown in fig. 1A-1B, the chat interface may include a list view (which may also be referred to as a list control) 101, a title bar 102, and an input bar 103.
Wherein list view 101 includes one or more list items, such as list item 1, list item 2, and list item 3, that can be used to display one or more chat records in list form. A list item may be used to store a chat log. List view 101 is a view group in which each list item is a view, and a list item may be composed of a group of sub-views. For example, multiple sub-views may be nested in list item 1, such as a user nickname ("Leo") sub-view, a user avatar sub-view, a chat bubble sub-view. Chat content ("Hi |") may be displayed in the chat bubble. Moreover, in list item 1, these child views are displayed to the right. Multiple sub-views, such as a user nickname ("Henry") sub-view, a user avatar sub-view, a chat bubble sub-view, may be nested in list item 2. A picture can be displayed in the chat bubble. Moreover, in list item 2, these child views are shown to the left. The multiple child views nested in list item 3 may be, for example, a user nickname ("anywhere") child view, a user avatar child view, a chat bubble child view, a text box child view, and so forth. In addition, in the list item 3, a voice icon and a voice duration can be displayed in the chat bubble sub-view, and a voice translation text can be displayed in the text box sub-view.
It can be seen that list item 1, list item 2 and list item 3 are list items of different content and type, each of which comprises sub-views of different positions, sizes, shapes and even numbers of sub-views.
The title bar 102 may be used to display nicknames of chat objects or group chat groups, etc.
The input field 103 may be used for a user to input chat content to be transmitted, such as voice, text, pictures, video, expressions, etc.
Chat messages sent by the user or received by the user can be additionally displayed in the chat interface. As shown in fig. 1A-1B, as more chat messages are generated with the group chat group, more list items are included in the list view, and eventually the list items go out of the screen, so that part of the chat messages are hidden, and as shown in fig. 1A, the earlier chat messages are hidden. Thus, the user needs to slide list view 101 to view chat messages stored in the hidden list items.
When a user slides the list view to view the hidden content, in order to display the hidden list item, the electronic device needs to construct the view of the hidden list item first to perform subsequent view rendering and sending display. However, this may lead to delays in the display of the list items, especially for list views comprising various list items as shown in fig. 1A-1B, since the list items are not identical, the view construction of the list items cannot be multiplexed with each other, requiring separate construction of the view for each list item, resulting in longer delay times and eventually resulting in a stuck view when the user slides the list view.
In order to solve the above problems, an embodiment of the present application provides a display method. In this method, after the electronic device 100 may acquire the list data, all the list item data may be processed and stored in the buffer memory. Thus, the electronic device does not need to process each item data when displaying the list view, thereby reducing the time required for the electronic device to display the list view.
Fig. 2A is a schematic architecture diagram of an electronic device 100 according to an embodiment of the present application.
The electronic device 100 may be a mounted deviceOr other operating system, such as cell phones, tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (mobile personal computer, UMPC), netbooks, as well as cellular telephones, personal digital assistants (personal digital assistant, PDA), augmented reality (augmented reality, AR) devices, virtual Reality (VR) devices, artificial intelligence (artificial intelligence, AI) devices, wearable devices, vehicle-mounted devices, smart home devices, and/or smart city devices, among others.
As shown in fig. 2A, the electronic device 100 may include multiple processors (e.g., the central processor and graphics processor shown in fig. 2A), a buffer memory, and a display screen. The components are coupled by one or more sets of buses. The buses may be an integrated circuit (inter-integrated circuit, I2C) bus, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) bus, a pulse code modulation (pulse code modulation, PCM) bus, a mobile industry processor interface (mobile industry processor interface, MIPI), and the like.
The processor can be provided with a controller, and the controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution. The processor may also be coupled with one or more random access memories (random access memory, RAM), one or more non-volatile memories (NVM). The random access memory may be read directly from or written to by the processor, may be used to store executable programs (e.g., machine instructions) for the operating system or other on-the-fly programs, may also be used to store data for users and applications, and the like. The nonvolatile memory may also store executable programs, store data of users and application programs, and the like, and may be loaded into the random access memory in advance for the processor to directly read and write. A memory unit may also be provided in the processor, which may be a cache memory unit, and may be used to store instructions or data that has just been used or recycled by the processor.
The display screen may be used to display images, videos, and the like. The display screen includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N displays, N being a positive integer greater than 1.
Processors in electronic device 100 may include a central processing unit (central processing unit, CPU) and a graphics processor (graphics processing unit, GPU). The CPU and GPU may store different executable programs to implement different functions. In some embodiments, the CPU may obtain view description information of all views in the user interface, which may be structured by the application through a front-end development language (e.g., javaScript language), for describing the location of the child view in the parent view (e.g., centered display, left-handed display, right-handed display, filling the entire space of the parent view, etc.). The view description information acquired by the CPU includes list data, as shown in fig. 2B, where the list data is composed of one or more list item data (i.e., view description information of a list item), each list item data corresponds to a list item view, the list item view is composed of one or more sub-views, and one or more pieces of information in positions, sizes, and shapes of the sub-views in the list item view may be included in the list item data. The number of list item data in the list data shown in fig. 2B is merely an example, and more or less list item data may be included in the list data than in fig. 2B, and the number of list item data in the list data is not limited in the embodiment of the present application.
The CPU can parse the view description information and represent the view description information as a tree data structure (hereinafter referred to as a view tree) as shown in fig. 2C. Each node in the view tree may correspond to a block of memory locations in electronic device 100, and nodes in the view tree may store pointers to addresses of corresponding memory locations of other nodes (e.g., nodes connected thereto).
The user interface view tree contains nodes corresponding to all views in the user interface to be displayed, and also contains list view nodes. The list view nodes may be connected to list item 1 nodes, list item 2 nodes, and list item 3 nodes, wherein each list item data may constitute a sub-tree in the user interface view tree (hereinafter list item view tree). The list view node may store pointers to addresses of corresponding storage locations of the list item 1 node, the list item 2 node, and the list item 3 node.
Taking the list item 3 node as an example, the CPU may construct list item 3 data as a list item 3 view tree. The list item 3 node may be connected to a user avatar node, a user nickname node, a chat bubble node, and a text box node. Taking a user avatar node as an example, the electronic device may display the user avatar through an image control (for example, imageView control), and the corresponding storage unit of the user avatar node may store the attribute of the image control, the resource file of the user avatar, and so on. Taking chat bubble nodes as an example, the chat bubble node corresponding storage unit may store attributes of chat bubble controls, chat bubble resource files, and the like. In addition, the chat bubble node corresponding storage unit may further store pointers to addresses of the voice icon node and the voice duration node corresponding storage unit. Thus, the CPU can inquire the corresponding storage units of the voice icon node and the voice duration node through the chat bubble node.
It should be noted that the size of the views stored in the list item 3 data is sometimes not a fixed value, for example, the size of some views is such that the space available for the list item 3 views is filled. After the CPU constructs a complete user interface view tree, the actual size of the view corresponding to each node in the user interface view tree needs to be measured to obtain determined width and height values, and then the CPU can determine the layout information of all views in the user interface according to the measurement result. And the CPU may generate rendering instructions that the GPU is capable of recognizing.
The GPU is used to perform mathematical and geometric calculations to render graphics. The GPU may receive the rendering execution sent by the CPU and then render the view into a visual pixelated image (i.e., rasterized), and may perform shading operations, add lighting effects, shadow effects, texture effects, and so on the view during the GPU rendering of the view. The GPU may render views of different sources (e.g., applications) separately, and the rendered views are not synthesized to the same interface. A surface compositor (SurfaceFlinger) in the electronic device 100 may instruct the GPU to compose the rendered view to the entire user interface, thereby generating an image to be displayed. Taking fig. 1A as an example, the rendered view of the GPU may include a view corresponding to a user interface of the instant messaging application and a view of a top status bar. The SurfaceFlinger needs to instruct the GPU to compose the view corresponding to the user interface of the instant messaging application with the view of the top status bar, resulting in the user interface shown in fig. 1A. Optionally, the SurfaceFlinger may also send a partial synthesis task to a hardware composition abstraction layer (HWC), where the GPU and the HWC together complete the view synthesis task, and the CPU may send the synthesized view (i.e. the image to be displayed) to display. The sending and displaying refers to pushing the image to be displayed to a Frame Buffer (FB) for storage. The frame buffer is a section of storage space in the electronic device 100, and may be located in a video memory or a memory. The content of the frame buffer corresponds to the interface display on the display screen, which can be simply understood as the buffer corresponding to the display content on the display screen. That is, modifying the content in the frame buffer modifies the picture displayed on the display screen. And the display screen can display the image to be displayed.
Because multiple views may be nested in each list item view, and there may also be multiple ways of nesting the nested views in the list item view, the time required for electronic device 100 to build a list item view tree is typically long. If the electronic device 100 starts to construct the list item view tree corresponding to the list item view to be displayed after receiving the operation of sliding the list item view by the user, a click occurs when a new list item view is displayed due to long time for constructing the view tree by the electronic device 100. Therefore, the electronic device 100 may acquire all the list item data in the list data, where the all the list item data includes data corresponding to the list item view to be displayed and data corresponding to the list item view that is not displayed. The electronic device 100 may then construct a list item view from the list item data and store the list item view tree in a buffer memory. When the electronic device 100 needs to switch and display the list item view in the list view, it may first query whether a list item view tree corresponding to the list item view exists in the buffer memory. When the list item view tree corresponding to the list item view is stored in the buffer memory, the electronic device 100 may add the list item view tree to the user interface view tree corresponding to the user interface to be displayed.
Taking the embodiment shown in fig. 1A-1B as an example, the electronic device 100 may first obtain list data from an application program, where all list item data (list item 1 data, list item 2 data, list item 3 data, list item 4 data, list item 5 data, list item 6 data) are included, and then the electronic device 100 may construct a corresponding list item view tree according to the list item data, and store the constructed list item view tree in a buffer memory. In the user interface shown in FIG. 1A, the list item 4 view, the list item 5 view, and the list item 6 view are not displayed in the display. The user interface view tree constructed by the electronic device 100 may include only the list item 1 view tree, the list item 2 view tree, and the list item 3 view tree. The user interface view tree is subjected to the steps of rendering, synthesizing, sending and displaying of the electronic equipment, so that a list item 1 view, a list item 2 view and a list item 3 view are displayed in a display screen. When the electronic device 100 receives an operation by the user to slide up the list view, the application may determine that list item 3 view, list item 4 view, list item 5 view, and list item 6 view need to be displayed on the display screen. The electronic device 100 may directly obtain the list item 3 view tree, the list item 4 view tree, the list item 5 view tree, and the list item 6 view tree from the buffer memory, and further process the view trees to display the list item 3 view, the list item 4 view, the list item 5 view, and the list item 6 view on the display screen. That is, the electronic device 100 does not need to regenerate the list item view tree every time the list item view is displayed, thereby reducing the time required for the electronic device 100 to switch the display list item view and avoiding the occurrence of a jam when the list item view is displayed.
The structure illustrated in fig. 2A does not constitute a specific limitation on the electronic device 100, and the electronic device 100 may include more or less components than those shown in fig. 2A, or may combine some components, split some components, or may have a different arrangement of components. The components shown in fig. 2A may be implemented in hardware, software, or a combination of software and hardware. For example, the electronic device 100 may also include a variety of sensors: pressure sensors, distance sensors, proximity sensors, touch sensors, ambient light sensors, and the like. The touch sensor may be also referred to as a "touch panel" and may be disposed on the display screen. The touch sensor and the display screen may constitute a touch screen, also referred to as a "touch screen". The touch sensor is used to detect a touch operation acting thereon, which may be an operation in which a user presses a shutter key. Touch operations detected by the touch sensor may be communicated to a Central Processing Unit (CPU) to determine a touch event type.
The electronic device 100 may also construct list data to be displayed into other data structures, not limited to tree data structures. The embodiment of the present application is not limited to the data structure of the list data constructed by the electronic device 100.
The electronic device 100 may store the list item view tree in other memories or a storage unit of a buffer, which may be integrated in the CPU, without being limited to the buffer memory.
Fig. 3 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the system is divided into four layers, from top to bottom, an application layer, an application framework layer, runtime (run time) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include applications (also referred to as applications) such as cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The window manager may manage views in the application user interface through the view system.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture. The view system may receive list data from the application program, construct a view tree, and manage the view tree. For example, the view system may measure views in the view tree, then obtain the layout, generate rendering instructions to send to the GPU, and so on. The view system can store the list item view tree in the buffer memory, and when the list item view is required to be displayed on the user interface, the view system can search whether the list item view corresponding to the list item view exists in the buffer memory, so that the view system does not need to reconstruct the list item view tree every time the list item view is displayed.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like. The view description information may be stored in the resource manager.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification presented in the form of a chart or scroll bar text in the system top status bar, such as a notification of a background running application, or a notification presented on a screen in the form of a dialog interface. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The Runtime (run time) includes core libraries and virtual machines. Run time is responsible for scheduling and management of the system.
The core library consists of two parts: one part is the function that the programming language (e.g., the java language) needs to call, and the other part is the core library of the system.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes the programming files (e.g., java files) of the application layer and the application framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), two-dimensional graphics engines (e.g., SGL), etc.
The surface compositor is used to manage the display subsystem and provides a fusion of two-Dimensional (2D) and three-Dimensional (3D) layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing 3D graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver and a virtual card driver. The CPU may send the image to be displayed (i.e., the user interface) to the display driver, where the display driver sends the image to be displayed, so that the display screen displays the image.
The display method provided by the embodiment of the application is described below by combining different scenes in the instant messaging application program.
A scenario is first introduced here in which the list view is slid in case the list item data is not updated.
The electronic device 100 may obtain list data prior to displaying the list view. The list data not only comprises the list item view to be displayed, but also comprises the list item data corresponding to the list item view which is not displayed temporarily. The electronic device 100 may construct list item view trees corresponding to the above list item data, respectively, and store the list item view trees in the buffer memory.
As shown in fig. 4A, the list item view tree stored in the buffer memory of the electronic device 100 may include a list item 1 view tree, a list item 2 view tree, a list item 3 view tree, a list item 4 view tree, a list item 5 view tree, a list item 6 view tree. The list item 1 view tree may include view description information for displaying views of nickname ("Leo"), text ("Hi"), avatar (face1. Jpg), and the like. The list item 2 view tree may include view description information for displaying views of contents such as nickname ("Henry"), avatar (face2. Jpg), and picture image (puppy. Jpg). The list item 3 view tree may contain view description information for displaying views of contents such as nickname name ("lie"), avatar (avatar 3. Jpg), text ("2" "), icon (layer. Ico), media (sound. Ogg), text (" So text | "), and the like. The list item 4 view tree may include view description information for displaying views of contents such as nickname ("Linda"), avatar (face4. Jpg), text ("whataloveputppy |"), and the like. The list item 5 view tree may include view description information for displaying views of contents such as nicknames ("Leo"), avatar (face1. Jpg), text ("Yeah |"), and picture image (thumb. Jpg). The list item 6 view tree may include view description information for displaying views of contents such as nicknames ("Linda"), avatars (face4. Jpg), text ("Is it you dog, henry. The view description information includes data such as attributes of the view (e.g., width, height, center display, left display, right display, transparency, etc.) of the view.
The electronic device 100 may determine the list item view to be displayed (i.e., list item 3 view, list item 4 view, list item 5 view, and list item 6 view in fig. 4A), and then the electronic device processes the list item 3 view tree, list item 4 view tree, list item 5 view tree, and list item 6 view tree stored in the buffer memory to generate the rendering instruction. The GPU in the electronic device 100 may render the list item view according to the rendering instructions. After the rendered list item view is subjected to the processes of synthesis, sending and displaying, etc., a list item 3 view, a list item 4 view, a list item 5 view and a list item 6 view as shown in fig. 4A can be displayed in the list view 101.
The electronic device 100 may receive an operation by the user to slide the list view 101 downward, in response to which the electronic device 100 may display a different list item view. For example, the application program may determine to change the list item view displayed in the list view from the list item 3 view, the list item 4 view, the list item 5 view, and the list item 6 view to the list item 1 view, the list item 2 view, and the list item 3 view according to a sliding operation of the user. The electronic device 100 may obtain the list item 1 view tree, the list item 2 view tree, and the list item 3 view tree from the buffer memory, and further process the view tree to display the list item 1 view, the list item 2 view, and the list item 3 view shown in fig. 4B on the display screen. In the process from fig. 4A to fig. 4B, the list item data in the list data is not changed, so the electronic device 100 may directly obtain the list item view tree to be displayed from the buffer memory for processing.
A scenario in which new list item data is inserted in list data is described below.
As shown in fig. 4C, in a state in which the electronic device 100 displays the list item 1 view, the list item 2 view, and the list item 3 view, the list item view tree stored in the buffer memory includes: list item 1 view tree, list item 2 view tree, list item 3 view tree, list item 4 view tree, list item 5 view tree, and list item 6 view tree.
The electronic device 100 may receive an operation by the user to slide down the list view 101 for loading more list item data. In response to the above-described sliding down operation, the electronic device 100 may display a load identifier 105, the load identifier 105 being used to indicate that a list item is being loaded. The loading of the list items by the electronic device 100 means that the electronic device obtains a plurality of list item data, and further constructs a list item view tree corresponding to the list item data. The electronic device 100 may then store the newly constructed list item view tree in a buffer memory.
As shown in fig. 4D, the newly constructed list item view tree of the electronic device 100 includes a list item 7 view tree, a list item 8 view tree, and a list item 9 view tree. The list item 7 view tree may include view description information for displaying views of contents such as nicknames ("Henry"), avatar (avatar 2. Jpg), text ("good moving |"), and picture images (sun. Jpg). The list item 8 view tree may include view description information for displaying views of nicknames ("Linda"), avatar (face4.jpg), text ("moving |"), and the like. The list item 9 view tree may include view description information for displaying views of contents such as nicknames ("Linda"), avatar (face4.jpg), text ("Itisa nice day"), and the like. The electronic device 100 may display the list item 7 view, the list item 8 view, and the list item 9 view in the display screen according to the above-described view description information.
Not limited to the list item 7 view tree, the list item 8 view tree, and the list item 9 view tree, the electronic device 100 may also load more list item data upon receiving an operation of the user to slide down the list view 101. The electronic device 100 may construct further list item view trees from the list item data and store the list item view trees in a buffer memory. When the electronic device 100 displays the list item 7 view, the list item 8 view, and the list item 9 view as shown in fig. 4D in the display screen, the other list item views are hidden.
A scenario in which list item data is automatically updated is described below.
As shown in fig. 4E, electronic device 100 may display a list item 1 view, a list item 2 view, and a list item 3 view. The picture in the list item 2 view contains a loading icon, which indicates that the picture is not loaded yet. Wherein the list item 2 view tree stored in the buffer memory by the electronic device 100 contains view description information for displaying the view of the loading icon.
As shown in fig. 4F, the electronic device 100 may receive an update message sent by the instant messaging application, where the update message may indicate that the list item 2 data has changed, that is, that the content of the list item 2 view displayed by the electronic device 100 needs to be changed. The electronic device 100 may receive the updated list item 2 data and reconstruct the list item 2 view tree from the list item 2 data. The view description information of the view for displaying the loading icon in the list item 2 view tree is replaced with view description information of the view for displaying the puppy picture (jpg). The picture in the list item 2 view displayed by the electronic device 100 is changed from a loading icon (loading. Jpg) to a puppy picture (puppy. Jpg).
In other embodiments, in the embodiment shown in fig. 4E, the electronic device 100 may further receive an operation of the user on the loading icon in the list item 2 view to display the puppy picture shown in fig. 4F.
The embodiment of the application is not limited to the scenes of the instant messaging application program, but can be other application scenes, and the application scenes to which the display method can be applied are not limited.
The following describes a display method provided by the embodiment of the application.
As shown in fig. 5, the display method may include, but is not limited to, the following steps:
s501, the electronic equipment displays a first user interface, wherein the first user interface comprises a first list, first list items in the first list are displayed, the first list items are part of list items in the first list, and each list item in the first list comprises one or more sub views.
The first list may include a first list item, and the first list item may include a plurality of list items. The electronic device 100 may display a first list in the first user interface, where the first list is a View Group (View Group), and the first list may include a plurality of list items, where each list item includes one or more sub-views.
Taking the embodiment shown in fig. 4A as an example, the first user interface may be the user interface of the instant chat application shown in fig. 4A. The first user interface may include a view group of the first list (list view 101 shown in fig. 4A). The first list may contain a plurality of list items, wherein the first list may contain list items corresponding to all chat records in the group chat. Only a part of the list item views in the first list are displayed in the user interface, namely the list item 3 view, the list item 4 view, the list item 5 view and the list item 6 view shown in fig. 4A, and the list item 3, the list item 4, the list item 5 and the list item 6 may be referred to as a first list item. The first list item is displayed, i.e. the first list item view is displayed in the first user interface. Each list item view may include one or more sub-views, for example, a list item 1 view includes a view (e.g., textView) for displaying nicknames, a view (e.g., textView) for displaying chat text, a view (e.g., imageView) for displaying avatars, and so on, which may be referred to as sub-views included in a list item 1 view. The view description information of the list item 1 includes the position, size, shape, etc. of the above sub-view in the list item 1 view.
S502, the electronic equipment stores view description information of a second list item into a first memory, wherein the second list item is a part of list items in the first list, and the second list item comprises the first list item and a hidden third list item.
The electronic device 100 may store view description information of the second list item to the first memory, wherein the view description information of the second list item stored by the electronic device is stored in the form of a view tree. The second list item may be a partial list item in the first list. Wherein one or more of the information of the position, size, shape of a sub-view in the view tree of the second list item constitutes a tree node.
Taking the embodiment shown in fig. 4A as an example, the second list item may include list item 1, list item 2, list item 3, list item 4, list item 5, and list item 6 view trees stored in the buffer memory. The electronic device may construct the attempted description information of the second list item into a corresponding view tree to be stored in the first memory. In the embodiment shown in fig. 4A, list item 1 and list item 2 may be referred to as a third list item, and list item 1 view and list item 2 view are not shown in the display screen, or may be referred to as the third list item being hidden.
In some embodiments, the first list may include list items of a sub-view that differ by one or more of: the sub-views are different in position, size, shape and number. Wherein, the different sizes refer to different widths and heights of the child views displayed in the list Item View (Item View). The different shapes refer to the different shapes that the sub-views show. Different numbers means that different numbers of sub-views may be included in a list item view. Taking the embodiment shown in fig. 4A as an example, the sub-view in the list item 4 view is displayed to the left in the list item 4 view, and the sub-view in the list item 5 view is displayed to the right in the list item 5 view, that is, the sub-views are different in position. The list item 4 view is used to display the text "Whata lovely puppy-! The sub-view of "is sized with the list item 5 view for displaying the text" Yeah-! The sub-views of "are of different sizes. Sub-view "Socute-! "and display text" Whata lovely puppy-! The shape of the sub-views of "is different. The list item 3 view contains more sub-views than the list item 4 view, such as a view for displaying an icon, a view for displaying a text of a speech duration, etc., that is, the number of sub-views of the list item 3 is different from the list item 4.
In the embodiment of the application, the buffer memory may also be referred to as a first memory, and is not limited to the buffer memory, and the first memory may also be other memories or a part of storage units in the memories.
S503, the electronic equipment detects a first user operation for checking the third list item, and view description information of the third list item is fetched from the first memory.
The electronic device may detect an operation to view the third list item and retrieve a view tree constructed from view description information of the third list item from the first memory.
Referring to the embodiment shown in fig. 4A-4B, the electronic device 100 may receive a user operation of the user sliding down the list view 101, which may be referred to as a first user operation. The electronic device 100 may determine that the user is operating to present the third list item, and the electronic device 100 may retrieve the view tree of the third list item from the first memory, including the list item 1 view tree and the list item 2 view tree.
In some embodiments, the third list item is added to the first list earlier than the first list item. Referring to the embodiment shown in FIG. 4A, the third list item includes list item 1 and list item 2, and the first list item includes list item 3, list item 4, list item 5, and list item 6. The time of the chat record corresponding to the third list item is earlier than the time of the chat record corresponding to the first list item, and the time of the third list item inserted into the first list is earlier than the time of the first list item inserted into the first list.
S504, the electronic device displays the third list item in the first list based on the view description information of the third list item.
After the electronic device takes out the view tree constructed by the view description information of the third list item, the view tree can be processed so as to display the third list item in the display screen. As in the embodiment shown in fig. 4B, the electronic device 100 may display the list item 1 view and the list item 2 view in the display based on the list item 1 view tree, the list item 2 view tree.
In some embodiments, the electronic device 100 may also detect a second user operation on the third list item, and in response to the second user operation, the electronic device 100 may update the view description information of the third list item stored in the first memory and change the display appearance of the third list item. Taking the embodiment shown in fig. 4E as an example, the electronic device 100 may detect a click operation (i.e., a second user operation) of the user on the Loading icon in the list item 2 view, and in response to this operation, the electronic device 100 may update the view description information of the list item 2 view in the third list item (for example, change the ImageView size of the Loading icon to the ImageView size of the puppy picture), and the electronic device 100 may construct a list item 2 view tree according to the updated view description information of the list item 2 view, and store the updated list item view tree in the first memory (refer to the list item 2 view tree stored in the buffer memory shown in fig. 4F). The view description information stored in the post-update buffer memory contains data such as the size of the view for displaying the puppy picture (puppy. Jpg), which coincides with the puppy picture displayed in the list item 2 view in fig. 4F.
In some embodiments, changing the display appearance of the third list item includes one or more of: changing the position of the sub-view, changing the size of the sub-view, changing the shape of the sub-view, adding the sub-view, and subtracting the sub-view. That is, the display appearance change of the above-described third list item may be caused by one or more of a sub-view position change, a sub-view size change, a sub-view shape change, and a sub-view number change. Taking the embodiment shown in fig. 4A as an example, the sub-view corresponding to the voice content in the list item 3 view may be added after the electronic device 100 receives the operation of clicking the voice chat bubble corresponding control by the user. When the electronic device 100 adds the sub-view in the list item 3 view, it causes a change in the size and layout of the list item 3. Taking the embodiment shown in fig. 4E and fig. 4F as an example, the sizes of the Loading icon and the puppy picture in the list item 2 view may be different, and the sub-view for displaying the Loading icon and the sub-view for displaying the puppy picture may be different. The change in the size of the sub-views described above from fig. 4E to fig. 4F also causes a change in the size of the list item 2 view.
In some embodiments, the electronic device may also detect an update message of the first application, the update message indicating that the third list item is updated. The electronic device may update the view description information of the third list item stored in the first memory in response to the update message. For example, under the user interface shown in FIG. 4E, the electronic device may detect an update message for the first application indicating that the list item 2 view has changed. The electronic device 100 may receive the view description information of the list item 2, construct a list item 2 view tree, and then process the list item 2 view tree to display the updated list item 2 view shown in fig. 4F on the display screen. Also, the electronic device 100 may add the list item 2 view tree constructed according to the description information of the list item 2 to the buffer memory.
In some embodiments, the electronic device may also detect a third user operation to delete a third list item; the electronic device may then remove view description information of the third list item deleted by the third user operation from the first memory. Taking fig. 4B as an example, the electronic device 100 may receive an operation of deleting the chat record corresponding to the list item 1 view by the user, and in response to the operation, the electronic device 100 may determine that the list item 1 is deleted from the first list, and the electronic device 100 may delete the list item 1 view tree from the buffer memory.
In some embodiments, the electronic device may also detect a fourth user operation to view a fourth list item, the fourth list item not included in the second list item; the electronic device may store view description information of the fourth list item in the first memory. Taking the embodiment shown in fig. 4C as an example, the electronic device 100 may detect an operation by the user to slide down the list view 101 for looking up the list items 7, 8, and 9 shown in fig. 4D. List item 7, list item 8, and list item 9 may also be referred to as fourth list items, which are not included in the second list item (list item 1, list item 2, list item 3, list item 4, list item 5, and list item 6), meaning that the current fourth list item is in a hidden state. Further, the electronic device 100 may acquire view description information of the list item 7, the list item 8, and the list item 9, and store the view tree of the list item in the buffer memory. The electronic device 100 may further display the first prompt information at the top or bottom of the third list item. If the fourth list item is earlier than the second list item (which means that the user is looking at the earlier list item), the first prompt is displayed at the top of the third list item; if the fourth list item is later than the second list item (which means that the user is to view the updated list item), the first prompt is displayed at the bottom of the third list item. The first hint information indicates that the fourth list item is being presented. The first hint information may be the load identifier 105 as shown in FIG. 4C.
In some embodiments, the electronic device may further detect that the available capacity of the first memory is less than the first threshold, and/or that the number of list items stored in the first memory exceeds the second threshold, and further the electronic device may delete view description information of list items that have not been updated for more than a first period of time and more than a second period of time from the first memory. Or the electronic device deletes the view description information of the list item which is farthest from the fourth list item time from the list items which are not updated in the third time length. Wherein the electronic device may detect if the available capacity of the first memory is less than a first threshold and/or if the number of list items stored in the first memory exceeds a second threshold when there are list items to be added. The third duration may be a duration in which the electronic device acquires the list data twice. The electronic device can rank the list items in chronological order and then filter list items that are not updated for a third duration. And the electronic device may delete the view description information of the list item farthest from the list item to be inserted (i.e., the fourth list item) from the list items not updated in the third time period.
In some embodiments, the electronic device may further detect an event that the first list adds a list item, and the electronic device may further store view description information of the added list item in the first memory. Taking the scenario of instant chat application as an example, the electronic device 100 may receive a new message (i.e., an event that adds a list item), where the list item corresponding to the new message does not exist in the first list. The electronic device 100 needs to obtain the view description information of the list item corresponding to the chat record, construct a view tree according to the view description information, and store the view tree in the buffer memory. Thus, the electronic device 100 may directly obtain the corresponding list item view tree from the buffer memory when displaying the new list item.
An implementation manner of the display method provided by the embodiment of the application is described below.
As shown in fig. 6, the implementation of the display method may include, but is not limited to, the following steps:
s601, acquiring list data.
The electronic device 100 may first obtain list data. The list data not only comprises the list item data corresponding to the list item view to be displayed on the display screen, but also comprises the list item data corresponding to the list item view which is not displayed on the display screen at all. The list item data includes data such as attributes of individual ones of the list item views (e.g., width, height, centered display, left-hand display, right-hand display, transparency, etc. of the views).
The electronic device 100 may use a unique field identification for each list item, here denoted as unique id, which is used to distinguish from other list items. The list item data and the uniqueID of the list item view tree generated by the electronic equipment according to the list item data are the same.
The electronic device 100 may also obtain an update identifier for each item of list data in the application when obtaining the list data, where the update identifier is referred to herein as an update field for convenience of description. When the update field is true, it indicates that the list item data acquired by the electronic device has update relative to the list item view corresponding to the list item view tree stored in the buffer memory, where in the embodiment of the present application, the update value is true and may also be referred to as an update message; when the update field is false, it indicates that there is no update of the list item data with respect to the list item data corresponding to the list item view stored in the buffer memory. The value of the update identifier of the list item data may be determined by the application program.
In one possible implementation, the value of the update identifier of the list item data may also be that the electronic device 100 marks the list item data in the list data after acquiring the new list data. For example, the electronic device 100 may compare the list item data in the newly acquired list data with the list item data corresponding to the list item view tree stored in the buffer memory, so as to determine which list item data has changed. The electronic device 100 may assign the update field of the changed list item data to true.
One or more list item view trees may be stored in a buffer memory of the electronic device 100. Wherein the electronic device 100 may identify the list item view tree in the buffer memory with a new identifier (denoted newFlag) and a usage identifier (denoted usedFlag). The newFlag may be valued in true or false. In the embodiment of the application, false can be used to represent 0 and true can be used to represent 1. When the newFlag of a list item view tree stored in the buffer memory is true, indicating that the list item view tree stored in the buffer memory is newly constructed; when the newFlag of the list item view tree has a value of false, it indicates that the view tree of the list item stored in the buffer memory is not newly constructed. When the usedFlag flag of a list item view tree stored in the buffer memory takes a value of true, it indicates that the list item view tree stored in the buffer memory can be used to display a list item view, and when the usedFlag is false, it indicates that view description information of the list item stored in the buffer memory cannot be used to display (for example, data in the list item data changes, or new list data does not contain the list item data).
After acquiring the list data, the electronic device 100 may set the new flag (noted newFlag) and the use flag (noted usedFlag) of the list item view tree stored in the buffer memory to false.
S602, judging whether unprocessed list item data exists.
After the electronic device 100 acquires the list data, list item data in the list data may be processed. When unprocessed list item data exists, step S603 may be performed.
S603, extracting unprocessed list item data from the list data.
The electronic device 100 may extract a list item data to be processed from the list data, and further execute step S604 to start processing the list item data.
S604, judging whether a list item view tree corresponding to the list item data exists in the buffer memory.
The electronic device 100 may obtain the unique id of the list item data, and then find whether the list item view tree corresponding to the unique id is stored in the buffer memory. When the list item view tree of the unique exists in the buffer memory, the electronic device 100 may execute step S605.
S605, judging whether the list item data is updated or not.
The electronic device 100 may determine whether the newly acquired list item data is updated compared with the list item data corresponding to the list item view stored in the buffer memory by using the value of the update identifier. When the update flag of the list item data is false, it indicates that the list item data is different from the list item data corresponding to the list item view of the unique id stored in the buffer memory, and the electronic device 100 may further execute step S606.
S606, modifying the index of the list item view tree in the buffer memory.
The electronic device 100 may identify the order of the list item data in the list data by the index value. Each time the list data is updated, the location of the list item data in the list data may change, and thus the electronic device 100 needs to update the index value of the list item data in time.
In addition, the electronic device 100 may set the usedFlag of the list item view tree of the unique id in the buffer memory to true, which indicates that the list item view tree is still available for display.
In some embodiments, the electronic device may continue to perform step S602 after performing step S606. The electronic device 100 may continue to determine if unprocessed listing data is present. When all the list item data have been processed, the electronic device 100 may perform step S607.
S607, deleting redundant list item view trees in the buffer memory.
The electronic device may delete the redundant list view tree in the buffer memory, where the redundant list view tree refers to a list view tree of a certain unique id stored in the buffer memory, but no list item data of the unique id exists in the newly acquired list data by the electronic device 100. After the electronic device 100 processes the list data, the usedFlag values of the redundant list item data view tree are false, so that the electronic device 100 can delete all the list item data with the usedFlag values of false in the buffer memory.
In some embodiments, in step S604, when the electronic device 100 determines that the view tree corresponding to the list item data does not exist in the buffer memory, step S608 may be performed.
S608, constructing a list item view tree corresponding to the list item data.
For example, the electronic device 100 may determine that there is no list item view tree corresponding to the uniqueID in the buffer memory, and then the electronic device 100 needs to construct the list item view tree corresponding to the list item data. The method for constructing the list item view tree by the electronic device may refer to the description of the foregoing embodiment, and will not be repeated herein. After the electronic device 100 constructs a list item view tree corresponding to the list item data, a newFlag of the list item view tree may be set to true, which indicates that the list item view tree is newly constructed. The electronic device may also set the usedFlag identifier of the list item view tree to true, which indicates that list item data of the unique id exists in the list data, where the list item view tree corresponding to the list item data may be used to generate a list item view corresponding to the list item view tree and display the list item view in the user interface. In addition, the electronic device 100 may set an index value of the list item view, which may be referred to herein as a constructed list item view tree as a view tree to be added. Further, the electronic apparatus 100 may perform step S609.
S609, judging whether the storage space of the buffer memory meets the preset condition.
Since the buffer memory needs to occupy a certain memory space for storing the list item view tree, the electronic device 100 may execute step S610 when the memory space in the buffer memory satisfies the preset condition, and further delete one or more list item view trees from the buffer memory.
In some embodiments, the electronic device 100 may store a list item view tree number threshold, and when the number of list item view trees stored in the buffer memory exceeds the list item view tree number threshold, the electronic device 100 may perform step S610.
In other embodiments, the electronic device 100 may store a memory threshold, and when the threshold of the remaining memory of the buffer memory of the electronic device 100 is lower than the memory threshold, the electronic device 100 may perform step S610.
S610, deleting part of the list item view tree from the buffer memory.
When the storage space of the buffer memory in the electronic device 100 satisfies the preset condition, the electronic device 100 may select one or more list item view trees from the buffer memory to delete, so as to facilitate the subsequent addition of new list item view trees to the buffer memory.
In some embodiments, the electronic device 100 may delete the list item view tree furthest from the index value of the list item view tree to be added from the buffer memory, and newFlag identifies the list item view tree as false. This reduces the impact of deleting the cached list item view tree on the display list as the electronic device receives and responds to user sliding operations. Further, the electronic device 100 may perform step S611.
S611, adding the list item view tree to be added to a buffer memory.
After the electronic device 100 deletes one or more list item view trees from the buffer memory, the list item view tree to be added may be added to the buffer memory. When the electronic device 100 needs to display the list item view, the list item view tree corresponding to the list item data can be directly obtained from the buffer memory without reconstruction.
After the electronic device performs S611, step S602 may be continued to determine whether list item data to be processed still exists.
In some embodiments, when the electronic device 100 determines in step S609 that the storage space of the buffer memory does not meet the preset condition (at this time, more storage space may remain in the buffer memory), step S611 may be directly performed. That is, the electronic device 100 may directly add the list item view tree to be added to the buffer memory without deleting the list item view tree corresponding to other list item data in the buffer memory.
In some embodiments, in step S605, when the electronic device determines that the list item data is updated, step S612 may be performed.
S612, deleting the list item view tree corresponding to the list item data stored in the buffer memory.
The electronic device 100 may determine that the list item data exists updated for true through an update identification of the list item data. The presence of an update to the list item data indicates that the list item view tree corresponding to the list item data of the unique stored in the buffer memory cannot be used to generate a list item view. Therefore, the electronic device 100 may delete the list item view of the unique id stored in the buffer memory, and then execute step S608 to reconstruct the list item view tree corresponding to the unique id according to the newly acquired list item data.
The implementation of the display method shown in fig. 6 is described below in connection with several sets of tabular data.
As shown in fig. 7A, the electronic device may acquire list data 1. Five list item data may be included in list data 1, each list item data corresponding to one list item view. For ease of illustration, the uniqueids of the five list item data are labeled here as 1, 2, 3, 4, 5, respectively. At this point the list item view tree is not yet stored in the buffer memory. The update identifications of the five list item data are true. The electronic device 100 may construct list item view trees corresponding to the five list item data, respectively, and store the five list item view trees in the buffer memory. The uniqueID of the list item data is the same as the uniqueID of the list item view tree generated by the list item data, for example, the electronic device 100 generates the uniqueID of the list item view tree of 1 according to the list item data of which the uniqueID is 1.
The electronic device 100 may also set index values for each list item view tree, for example, index value of 1 for list item view tree with unique ID of 1, index value of 2 for list item view tree with unique ID of 2, index value of 3 for list item view tree with unique ID of 3, index value of 4 for list item view tree with unique ID of 4, and index value of 5 for list item view tree with unique ID of 5. The numerical size of the index value can be used for indicating the precedence relationship of the list item view corresponding to the list item view tree when the list item view is displayed in the user interface. For example, when the electronic device 100 needs to display, in the user interface, a list item view corresponding to list item data with the unique id of 3, a list item view corresponding to list item data with the unique id of 4, and a list item view corresponding to list item data with the unique id of 5, index values of the list item data are respectively 3, 4, and 5, and when the electronic device 100 displays the list item views, the display order of the list item views may be sequentially: list item view corresponding to list item data with unique id 3, list item view corresponding to list item data with unique id 4, list item view corresponding to list item data with unique id 5.
When the electronic device 100 stores the list item view tree in the list data 1, both the usedFlag flag and newFlag flags of the five list item view trees may be set to true, indicating that the five list item view trees are newly built after the electronic device 100 acquires the list data 1, and the five list item view trees may be used to generate the list item view without reconfiguration.
As shown in fig. 7B, the electronic device 100 may obtain list data 2, where the uniqueids of the list item data in the list data 2 are 2, 3, 4, 5, and 6, respectively. List data 2 has reduced list item data with unique id 1 compared to list data 1 and has increased list item data with unique id 6. The update of list item data with unique ID of 2, 3, 4, 6 is identified as true. This indicates that, in the list data 2 acquired by the electronic device 100, the list item data with the unique id of 2, 3, and 4 is changed with respect to the list item data corresponding to the list item view tree with the unique id stored in the buffer memory (the list item data with the unique id of 2, 3, and 4) or the list item data is newly input (the list item data with the unique id of 6). The update flag of the list item data with the unique id of 5 is false.
The electronic device 100 may set the usedFlag and newFlag flags of all list item view trees stored in the buffer memory to false first.
The electronic device 100 may sequentially fetch the list item data in the list data 2 and process the list item data. For example, the electronic device 100 may retrieve list item data with the unique id of 2 in the list data 2. If the update identifier of the list item data with the unique id of 2 is true, the electronic device 100 may delete the list item view tree corresponding to the list item data with the unique id of 2 stored in the buffer memory, and then reconstruct the list item view tree corresponding to the list item data with the unique id of 2. Since the list item data with the unique ID of 2 is the first list item data in the list data 2, the electronic device may set the index value of the list item view tree corresponding to the constructed list item data with the unique ID of 2 to 1. The electronic device 100 may then set the usedFlag flag and newFlag flag to true, indicating that the list item view tree is newly constructed by the electronic device after obtaining list data 2. The electronic device 100 may also process the list item data with the unique ID of 3 and 4, delete the list item view tree corresponding to the list item data with the unique ID of 3 and 4 stored in the buffer memory, and reconstruct new list item view tree according to the list item data with the unique ID of 3 and 4, respectively.
When the electronic device processes the list item data with the unique id of 5 in the list data 2, since the update identifier of the list item data is false, the electronic device 100 does not need to reconstruct the list item view tree corresponding to the list item data with the unique id of 5, and only needs to adjust the index value of the list item view tree in the buffer memory. And, the electronic device 100 needs to set the usedFlag flag of the list item view tree with the unique id of 5 in the buffer memory to true.
When the electronic device processes the list item data with the unique id of 6 in the list data 2, the electronic device 100 cannot query the buffer memory for the list item view tree corresponding to the list item data with the unique id of 6, so that the electronic device 100 can construct a new view tree corresponding to the list item data with the unique id of 6 and add the list item view tree to the buffer memory.
After the electronic device 100 processes all list item data in the list data, only the usedFlag of the list item data with the unique id that does not exist in the list data is false (for example, the list item data with the unique id of 1 shown in fig. 7B), the electronic device 100 may delete the list item view tree with the usedFlag of false in the buffer memory, so as to avoid wasting storage resources.
As shown in fig. 7C, the electronic device 100 may further obtain list data 3, where list data 3 may include list item data with unique numbers 2, 3, 4, 5, 6, 7, and 8. The update identifier of the list item data with the unique id of 2, 3, 4 and 5 may be false, and the update identifier of the list item data with the unique id of 6, 7 and 8 may be true. The electronic device 100 may query that the list item view tree with the unique id of 2, 3, 4, 5, and 6 exists in the buffer memory, and since the update identifier of the list item data with the unique id of 2, 3, 4, and 5 is false, the electronic device 100 does not need to reconstruct the list item view tree corresponding to the list item data, but only needs to adjust the index value of the list item view tree stored in the buffer memory according to the order of the list item data in the list data 3, and set the usedFlag identifier of the list item view tree to true. Since the update flag of the list item data with the unique id of 6 is false, the electronic device 100 needs to delete the list item view tree with the unique id of 6 in the buffer memory and reconstruct the list item view tree with the unique id of 6. Since the list item view tree with the unique ID of 7 and 8 does not exist in the buffer memory, the electronic device 100 may construct the list item view tree with the unique ID of 7 and 8 and store the list item view tree in the buffer memory.
In some embodiments, the electronic device 100 may delete the portion of the list item view tree in the buffer memory when the storage space of the buffer memory satisfies the preset condition. Taking the embodiment shown in fig. 7C as an example, assuming that the electronic device 100 satisfies the preset condition in the storage space after constructing the list item view tree with the unique ID of 8 (for the description that the storage space satisfies the preset condition, reference may be made to step S609 in fig. 6), the electronic device 100 may select, from the list item view tree with newFlag being false stored in the buffer memory, the list item view tree with the index farthest from the list item view tree with the unique ID of 8 to delete (i.e., list item with unique ID of 2 and index of 1). In the list item view tree stored in the buffer memory, the list item view tree with newFlag being false indicates that the list item data is not updated, that is, the list item view when it is displayed on the user interface is unchanged. And the electronic device 100 generally displays the list item view corresponding to the list item view tree in the order of the index values, so that the probability of displaying the list item data farthest from the index value of the inserted list item data in the display screen is low, and the electronic device 100 may delete the list item view tree with the lower display probability preferentially when the buffer space is insufficient.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.
As used in the above embodiments, the term "when …" may be interpreted to mean "if …" or "after …" or "in response to determination …" or "in response to detection …" depending on the context. Similarly, the phrase "at the time of determination …" or "if detected (a stated condition or event)" may be interpreted to mean "if determined …" or "in response to determination …" or "at the time of detection (a stated condition or event)" or "in response to detection (a stated condition or event)" depending on the context.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk), etc.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: ROM or random access memory RAM, magnetic or optical disk, etc.

Claims (15)

1. A display method applied to an electronic device, the method comprising:
the electronic device displays a first user interface, the first user interface including a first list, first list items in the first list being displayed, the first list items being part of the list items in the first list, each list item in the first list including one or more sub-views;
the electronic equipment stores view description information of a second list item into a first memory, wherein the second list item is a part of list items in the first list, and the second list item comprises the first list item and a hidden third list item;
The electronic equipment detects a first user operation for viewing the third list item, and view description information of the third list item is fetched from the first memory;
the electronic equipment displays the third list item in the first list based on view description information of the third list item;
wherein the view description information includes one or more items of information of the sub-view: position, size, shape.
2. The method of claim 1, wherein the first list comprises list items of a sub-view that differ by one or more of: the sub-views are different in position, size, shape and number.
3. A method according to claim 1 or 2, characterized in that the third list item is added to the first list earlier than the first list item.
4. A method according to any one of claims 1-3, wherein the method further comprises: the electronic device detecting a second user operation acting on the third list item;
the electronic equipment updates the view description information of the third list item stored in the first memory, changes the display appearance of the third list item, and the updated view description information of the third list item accords with the changed display appearance of the third list item.
5. The method of claim 4, wherein the changing the display appearance of the third list item comprises one or more of: changing the position of the sub-view, changing the size of the sub-view, changing the shape of the sub-view, adding the sub-view, and subtracting the sub-view.
6. The method according to any one of claims 1-5, further comprising:
the electronic device detects an update message of a first application program, wherein the first application program is an application program for providing the first user interface, and the update message is used for indicating the third list item to be updated;
the electronic device updates view description information of the third list item stored in the first memory.
7. The method according to any one of claims 1-6, further comprising:
the electronic equipment detects a third user operation for deleting the third list item;
the electronic device removes view description information of a third list item deleted by the third user operation from the first memory.
8. The method according to any one of claims 1-7, further comprising:
The electronic equipment detects a fourth user operation for checking a fourth list item, wherein the fourth list item is not included in the second list item;
the electronic device stores view description information of the fourth list item in the first memory.
9. The method of claim 8, wherein the method further comprises: the electronic device displays first prompt information at the top or bottom of the third list item, wherein the first prompt information indicates that the fourth list item is being loaded.
10. The method according to claim 8 or 9, characterized in that the method further comprises: the electronic device detecting that the available capacity of the first memory is less than a first threshold and/or that the number of list items stored in the first memory exceeds a second threshold;
and deleting the view description information of the list items which are not updated and have the storage time exceeding the first time and exceeding the second time from the first memory, or deleting the view description information of the list item which is farthest from the fourth list item from the list items which are not updated and have the third time by the electronic equipment.
11. The method according to any one of claims 1-10, further comprising: the electronic equipment detects an event of adding list items to the first list, and stores view description information of the added list items in the first memory.
12. The method according to any of claims 1-11, wherein the electronic device stores view description information of the second list item in the first memory, in particular comprising:
the electronic equipment constructs view description information of the second list item into a view tree of the second list item, wherein one or more pieces of information in the position, the size and the shape of one sub view form a tree node;
the electronic device stores the view tree of the second list item in the first memory.
13. The method according to any of claims 4-6, wherein the electronic device updates view description information of the third list item stored in the first memory, in particular comprising:
and the electronic equipment reconstructs the view tree from the updated view description information of the third list item, and one or more tree nodes in the view tree are changed before and after reconstruction.
14. An electronic device, the electronic device comprising: a display screen, a memory, and a processor coupled to the memory; the display screen is used for displaying an interface, the memory stores a computer program, and the processor executes the computer program to enable the electronic device to implement the method as claimed in any one of claims 1 to 13.
15. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 13.
CN202310861576.6A 2023-07-12 2023-07-12 Display method, electronic device, and computer-readable storage medium Pending CN117055989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310861576.6A CN117055989A (en) 2023-07-12 2023-07-12 Display method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310861576.6A CN117055989A (en) 2023-07-12 2023-07-12 Display method, electronic device, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN117055989A true CN117055989A (en) 2023-11-14

Family

ID=88661569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310861576.6A Pending CN117055989A (en) 2023-07-12 2023-07-12 Display method, electronic device, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN117055989A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108647075A (en) * 2018-05-11 2018-10-12 阿里巴巴集团控股有限公司 Listview method for refreshing, device and the electronic equipment of five application page
US20190065021A1 (en) * 2017-08-30 2019-02-28 Google Inc. Hybrid scrolling of user interfaces
CN109542578A (en) * 2018-11-30 2019-03-29 北京微播视界科技有限公司 A kind of display methods of list interface, device, equipment and storage medium
CN109614193A (en) * 2018-12-11 2019-04-12 北京微播视界科技有限公司 A kind of display methods of list interface, device, equipment and storage medium
CN109739611A (en) * 2019-01-25 2019-05-10 北京城市网邻信息技术有限公司 List View method for drafting, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190065021A1 (en) * 2017-08-30 2019-02-28 Google Inc. Hybrid scrolling of user interfaces
CN108647075A (en) * 2018-05-11 2018-10-12 阿里巴巴集团控股有限公司 Listview method for refreshing, device and the electronic equipment of five application page
CN109542578A (en) * 2018-11-30 2019-03-29 北京微播视界科技有限公司 A kind of display methods of list interface, device, equipment and storage medium
CN109614193A (en) * 2018-12-11 2019-04-12 北京微播视界科技有限公司 A kind of display methods of list interface, device, equipment and storage medium
CN109739611A (en) * 2019-01-25 2019-05-10 北京城市网邻信息技术有限公司 List View method for drafting, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US10157593B2 (en) Cross-platform rendering engine
CN107182209B (en) Detecting digital content visibility
US10545953B2 (en) Modern spreadsheet arrays
WO2013191854A2 (en) Creation and context-aware presentation of customized emoticon item sets
CN109408136A (en) Information processing method, device, storage medium and electronic equipment
CN113841181A (en) Structure switching in three-dimensional environment
US10304225B2 (en) Chart-type agnostic scene graph for defining a chart
CN114995929B (en) Popup window display method and device
SE533322C2 (en) Method, module and apparatus for displaying graphical information
CN111935353B (en) Mobile terminal and short message display method thereof
US20110265005A1 (en) Method, system and apparatus for managing message attachments
US8726230B1 (en) Generating a user interface for sending data among resources
CN117055989A (en) Display method, electronic device, and computer-readable storage medium
WO2023005751A1 (en) Rendering method and electronic device
WO2021253922A1 (en) Font switching method and electronic device
CN113900740A (en) Method and device for loading multiple list data
CN113608610A (en) Interaction control method, electronic equipment and system
CN116700554B (en) Information display method, electronic device and readable storage medium
CN115061758B (en) Application display method, terminal, electronic device and storage medium
CN115421599B (en) Input method display control method and related device
CN117131241B (en) Search object recommendation method, electronic device and computer readable storage medium
CN118093067A (en) Method for displaying card, electronic device and readable storage medium
CN117724780A (en) Information acquisition method
CN115623116A (en) Information display method and device and electronic equipment
CN118244950A (en) Widget display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination