# US 2022/0035491 A1 · List display method and apparatus, computer device and computer-readable medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0035491 A1
- Document ID: US20220035491A1
- Status: Published application
- Kind: A1
- Application number: 17/298,109
- Filed: 2020-05-14
- Published: 2022-02-03
- Earliest claimed: 2019-05-14
- Assignees: Boe Technology Group Co., Ltd.
- Applicants: Boe Technology Group Co., Ltd.
- Inventors: Zhe ZHANG
- Web page: https://patentgrep.com/patent/US20220035491A1

## CPC

- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 8/38: for implementing user interfaces
- G06F 3/04815: Interaction with a metaphor-based environment or interaction object displayed as three-dimensional [3D], e.g. changing the user viewpoint with respect to the environment or object
- G06F 16/904: Browsing; Visualisation therefor (for navigating the web G06F16/954; browsing optimisation for the web G06F16/957)
- G06F 40/186: Templates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure provides a list display method, including: creating a type cache pool, the type cache pool caches: a correspondence between structure types of a plurality of types of data and items corresponding to the respective structure types; and respective layout information is recorded in each item, acquiring the structure type of each data in a list; displaying the respective data to be displayed in a region to be displayed in the list, step of displaying the respective data to be displayed includes steps of: determining the item corresponding to the structure type of the data to be displayed according to the; displaying the data to be displayed according to the layout information of the item corresponding to the structure type of the data to be displayed; wherein the region to be displayed is a region to be displayed on a screen in the list.

## Claims

### Claim 1

A list display method, comprising steps of:
creating a type cache pool, wherein the type cache pool caches: a correspondence between structure types of a plurality of types data and items corresponding to the respective structure types; and respective layout information is recorded in each item,
acquiring the structure type of each data in a list;
displaying the respective data to be displayed in a region to be displayed in the list, wherein the step of displaying the respective data to be displayed comprises steps of:
determining the item corresponding to the structure type of the data to be displayed according to the correspondence between the structure types of the plurality of types of data and the items corresponding to the respective structure types cached in the type cache pool;
displaying the data to be displayed according to the layout information of the item corresponding to the structure type of the data to be displayed;
wherein the region to be displayed is a region to be displayed on a screen in the list.

### Claim 2 (depends on 1)

The list display method of claim 1, wherein
the region to be displayed is an initial part of the list, and the step of displaying the data to be displayed according to the layout information of the item corresponding to the structure type of each data to be displayed comprises steps of:
creating a Viewholder corresponding to the item, according to the item corresponding to the structure type of the data to be displayed; and
calling the Viewholder corresponding to the data to be displayed so that the Viewholder renders the data to be displayed on the screen according to the layout information of the item corresponding to the structure type of the data to be displayed.

### Claim 3 (depends on 2)

The list display method of claim 2, wherein the type cache pool further caches: a correspondence between the item type value and the item;
before the step of calling the Viewholder corresponding to the data to be displayed so that the Viewholder renders the data to be displayed on the screen according to the layout information of the item corresponding to the structure type of the data to be displayed, the list display method further comprises steps of:
obtaining the item type value corresponding to the structure type of the data to be displayed, according to the correspondence between the item type value and the item; and
transmitting the item type value corresponding to the structure type of the data to be displayed to the Viewholder corresponding to the data to be displayed so as to bind the Viewholder and the item type value; wherein the Viewholder renders the data to be displayed on the screen according to the layout information of the item corresponding to the structure type of the data to be displayed, and the data to be displayed is rendered according to the layout information of the item corresponding to the item type value bound with the Viewholder.

### Claim 4 (depends on 3)

The list display method of claim 3, wherein the step of creating a type cache pool comprises steps of:
creating a first cache set and a second cache set; and
sequentially registering and binding the structure types of the plurality of types of data and the items corresponding to the structure types into the first cache set; wherein every time the structure type of a type of data among the plurality of types of data and the item corresponding to the structure type have been registered and bound, a size of the first cache set at a current time is used as the item type value of the item, and the item and the item type value thereof are bound and then cached in the second cache set.

### Claim 5 (depends on 3)

The list display method of claim 3, wherein the type cache pool is further provided with: a first member method and a second member method, and
wherein the first member method is a method for obtaining a corresponding item according to the item type value; and the second member method is a method for obtaining the item type value corresponding to the structure type of the data to be displayed.

### Claim 6 (depends on 3)

The list display method of claim 3, wherein after the step of transmitting the item type value corresponding to the structure type of the data to be displayed to the Viewholder corresponding to the data to be displayed, the list display method further comprises: storing the Viewholder and the corresponding item type value into a Recycler cache pool.

### Claim 7 (depends on 6)

The list display method of claim 6, wherein the region to be displayed is a region displayed on the screen when the list is pulled up or down,
the step of determining the item corresponding to the structure type of the data to be displayed according to the correspondence between the structure types of the plurality of types of data and the items corresponding to the respective structure types cached in the type cache pool comprises steps of:
acquiring the item type value corresponding to the structure type of the data to be displayed;
when the item type value equal to the item type value corresponding to the structure type of the data to be displayed exists in the Recycler cache pool, calling the Viewholder corresponding to the item type value so that the Viewholder determines the item corresponding to the structure type of the data to be displayed according to the item type value; wherein the Viewholder called in the step is denoted as a reused Viewholder;
the step of displaying the data to be displayed according to the layout information of the item corresponding to the structure type of the data to be displayed comprises rendering the data to be displayed on the screen by the reused Viewholder according to the layout information of the determined item.

### Claim 8 (depends on 1)

The list display method of claim 1, wherein prior to the step of creating a type cache pool, the list display method further comprises: customizing the items corresponding to the structure types of the plurality of types of data.

### Claim 9 (depends on 2)

The list display method of claim 2, wherein the initial part is a part at a top of the list being displayed on the screen when the list is not pulled down.

### Claim 10

A list display apparatus, comprising:
a cache pool creating module configured to create a type cache pool, wherein the type cache pool caches: a correspondence between structure types of a plurality of types of data and items corresponding to the respective structure types, and respective layout information is recorded in each item;
a data type acquiring module configured to acquire the structure type of each data in the list; and
an adapter configured to display the respective data to be displayed in a region to be displayed in the list; wherein when each data to be displayed is displayed, the adapter is configured to determine the item corresponding to the structure type of the data to be displayed according to the correspondence between the structure types of the plurality of types of data and the items corresponding to the respective structure types cached in the type cache pool; and display the data to be displayed according to the layout information of the item corresponding to the structure type of the data to be displayed;
wherein the region to be displayed is a region to be displayed on a screen in the list.

### Claim 11 (depends on 10)

The list display apparatus of claim 10, wherein the adapter comprises:
a Viewholder creating unit configured to create a Viewholder corresponding to the item, according to the item corresponding to the structure type of the data to be displayed, when the region to be displayed is an initial part of the list; and
a rendering unit configured to call the Viewholder corresponding to the data to be displayed, so that the Viewholder renders the data to be displayed on the screen according to the layout information of the item corresponding to the structure type of the data to be displayed.

### Claim 12 (depends on 11)

The list display apparatus of claim 11, wherein the type cache pool further caches: a correspondence between the item type value and the item;
the adapter further comprises:
a first type value acquiring unit configured to acquire the item type value corresponding to the structure type of each data to be displayed according to the correspondence between the item type value and the item, when the region to be displayed is the initial part of the list;
a Viewholder binding unit configured to transmit the item type value corresponding to the structure type of the data to be displayed to the Viewholder corresponding to the data to be displayed so as to bind the Viewholder and the item type value, when the region to be displayed is the initial part of the list,
wherein when the Viewholder renders the data to be displayed on the screen according to the layout information of the item corresponding to the structure type of the data to be displayed, the data to be displayed is rendered according to the layout information of the item corresponding to the item type value bound with the Viewholder.

### Claim 13 (depends on 12)

The list display apparatus of claim 12, wherein the cache pool creating module comprises:
a set creating unit configured to create a first cache set and a second cache set;
an item binding unit configured to sequentially register and bind the structure types of the plurality of types of data and the items corresponding to the structure types into the first cache set; wherein every time the structure type of a type of data among the plurality of types of data and the item corresponding to the structure type have been registered and bound, a size of the first cache set at a current time is used as the item type value of the item, and the item and the item type value thereof are bound and then cached in the second cache set.

### Claim 14 (depends on 12)

The list display apparatus of claim 12, wherein the type cache pool further caches: a first member method and a second member method, wherein the first member method is a method for obtaining a corresponding item according to the item type value;
the second member method is a method for obtaining the item type value corresponding to the structure type of the data to be displayed.

### Claim 15 (depends on 12)

The list display apparatus of claim 12, wherein the adapter further comprises:
a storage unit configured to store the Viewholder and the corresponding item type value into a Recycler cache pool after the Viewholder binding unit binds the Viewholder and the item type value;
a second type value acquiring unit configured to acquire the item type value corresponding to the structure type of data to be displayed when the region to be displayed is a region being displayed on the screen when the list is pulled up or down;
a judging unit configured to judge whether an item type value equal to the item type value obtained by the second type value acquiring unit exists in the Recycler cache pool, when the region to be displayed is a region being displayed on the screen when the list is pulled up or down; if so, the rendering unit calls the Viewholder corresponding to the item type value.

### Claim 16 (depends on 10)

The list display apparatus of claim 10, wherein the list display apparatus further comprises: an item customizing module configured to customize items corresponding to the structure types of the plurality of types of data.

### Claim 17 (depends on 11)

The list display apparatus of claim 11, wherein the initial part is a part at a top of the list being displayed on the screen when the list is not pulled down.

### Claim 18 (depends on 1)

A computer device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the computer program, when executed by the processor, implements the list display method of claim 1.

### Claim 19 (depends on 1)

A computer-readable medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the list display method of claim 1.

### Claim 20 (depends on 19)

The computer device of claim 19, wherein
the region to be displayed is an initial part of the list, and the step of displaying the data to be displayed according to the layout information of the item corresponding to the structure type of each data to be displayed comprises steps of:
creating a Viewholder corresponding to the item, according to the item corresponding to the structure type of the data to be displayed; and
calling the Viewholder corresponding to the data to be displayed so that the Viewholder renders the data to be displayed on the screen according to the layout information of the item corresponding to the structure type of the data to be displayed.
