List rendering method, apparatus, electronic device and computer readable medium

A technology for receiving lists and list data, which is applied in the computer field, can solve problems such as list loading lag, large memory space, and insufficient memory, and achieve the effect of reducing the amount of occupation and the number of creations

Active Publication Date: 2020-12-18
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when there are many list objects on the page, a large number of views and view trees need to be created, resulting in a large memory space, which may easily cause insufficient memory and list loading freezes when the page is scrolled.

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • List rendering method, apparatus, electronic device and computer readable medium
  • List rendering method, apparatus, electronic device and computer readable medium
  • List rendering method, apparatus, electronic device and computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0016] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0017] Please refer to figure 1 , which shows a process 100 of an embodiment of the list rendering method according to the present application. In this embodiment, the list rendering method can be applied to various electronic devices such as mobile phones and tablet compu...

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

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a list rendering method and device, electronic equipment and a computer readable medium. An embodiment of the method comprises the steps of rendering an emptylist container; receiving list data, wherein the list data comprises node information of at least one list object; analyzing the node information of each list object, generating a node tree corresponding to each list object, and determining layout attributes of nodes contained in each list object; classifying the list objects corresponding to the node trees with the same structure into the same view type, and obtaining a view tree template of each view type; and rendering the view in the view tree template corresponding to each list object in the empty list container based on the node tree ofeach list object and the layout attribute of the included node. According to the embodiment, the occupation amount of the memory space in the list rendering process is reduced.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a list rendering method, device, electronic equipment, and computer-readable medium. Background technique [0002] With the development of computer technology, there are more and more applications (Application, APP) applied to various electronic devices (such as mobile terminals such as mobile phones and tablets). Usually, the application can display information on the front end of the electronic device by rendering a list. In order to improve user experience, more and more applications support real-time rendering of lists during page scrolling. [0003] In the existing way, usually after the list data in the scroll view component is delivered by the JS side, the views (view) corresponding to each node in each list object (cell) are created respectively, thereby generating the view tree (ViewTree) corresponding to each list object. ), and final...

Claims

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

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06F8/34
CPCG06F8/312G06F8/34
Inventor 刘仁斐车昊周晓波
Owner BEIJING SANKUAI ONLINE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products