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

Sliding list generation method, data display method and device and storage medium

A sliding list and data display technology, applied in the field of data processing, can solve problems such as increased memory usage and stuck, and achieve the effect of reducing memory usage, reducing stuck, and reducing the number of sliding items

Active Publication Date: 2018-11-06
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This sliding list generation method is realized by creating a corresponding number of sliding items based on the number of data items to be displayed; the existing problem is: when there are a large number of data items to be displayed, due to the need to create a large number of sliding items, this It will lead to an increase in memory usage and cause stuttering;

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
  • Sliding list generation method, data display method and device and storage medium
  • Sliding list generation method, data display method and device and storage medium
  • Sliding list generation method, data display method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0057] In order to solve the defects existing in the prior art, the embodiment of the present invention considers the optimization of sliding list generation, figure 1 shows a schematic diagram of an optimized sliding list generation method, figure 1 The optimization process shown can be applied to the terminal or to the server, specifically, it can be executed by the processing chip in the terminal or the server, refer to figure 1 Shown:

[0058]The preset ...

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 provides a sliding list generation method, a data display method and device and a storage medium. The sliding list generation method includes the steps of acquiring preset resources for creating sliding items; creating the sliding items according to the preset resources, wherein the created sliding items cover a visible area of a sliding list and at least are beyondthe visible area for one item; associating with a callback function, wherein the callback function is used for detecting the positions of the sliding items when the sliding list slides in a sliding direction, determining a target sliding item whose position is beyond the visible area, and multiplexing the target sliding item to use the target sliding item as a sliding item which enters the visible area next time for display; at least performing interface encapsulation on the sliding item and the callback function and generating the sliding list. The embodiment can achieve the purposes of using a small number of sliding items for meeting display requirements of a larger number of data items, reducing the memory occupation and reducing lagging.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a method for generating a sliding list, a method for displaying data, a device and a storage medium. Background technique [0002] In applications such as games, the sliding list is a UI (User Interface, user interface) control that can support the user's sliding operation. The sliding list is often used when displaying data; the sliding list generally has multiple sliding items, and the sliding items can be considered as sliding The display cell for displaying data items in the list; after the sliding list is generated, data display can be realized by loading data items in the sliding items. [0003] At present, it is mainly based on the number of data items to be displayed, creating a corresponding number of sliding items to realize the generation of sliding lists; so that when performing data display, one data item is displayed in one sliding item of the slidin...

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 Applications(China)
IPC IPC(8): A63F13/533A63F13/2145
CPCA63F2300/1068A63F2300/308A63F13/2145A63F13/533
Inventor 刘慰
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products