Back to results
US 10,789,051 B1Granted
Method and apparatus reusing ListCell in hybrid application
AssigneeAlibaba Group Holding Limited
InventorsWeigang Guan, Danxia Shi, Wenhong Chen
Life of this patent
Estimating the term…
Abstract
A prototype of a ListCell is defined using a front end of a hybrid software application. A ListCell template is created based on the prototype of the ListCell. A ListCell is obtained by copying the ListCell template. The ListCell is filled with obtained ListCell content. Display of the ListCell is initiated.
Claims20
A computer-implemented method, comprising:
- defining, by a front end layer of a hybrid software application, a structure and a class of a ListCell;
- obtaining, by the front end layer, first content data;
- creating, by the front end layer, a prototype of the ListCell based on the structure and the class of the ListCell;
- transmitting, by the front end layer, the first content data to a native layer of the hybrid software application, wherein the native layer creates a ListCell template based on the prototype of the ListCell created by the front end layer, obtains a ListCell by copying the ListCell template, fills the ListCell with the first content data, and displays the ListCell that is filled with the first content data;
- receiving, by the front end layer, a refresh trigger;
- and
- in response to receiving the refresh trigger, transmitting, by the front end layer, second content data to the native layer, wherein the native layer resuses the ListCell and displays the ListCell filled with the second content data.
4 more elements
A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
- defining, by a front end layer of a hybrid software application, a structure and a class of a ListCell;
- obtaining, by the front end layer, first content data;
- creating, by the front end layer, a prototype of the ListCell based on the structure and the class of the ListCell;
- transmitting, by the front end layer, the first content data to a native layer of the hybrid software application, wherein the native layer creates a ListCell template based on the prototype of the ListCell created by the front end layer, obtains a ListCell by copying the ListCell template, fills the ListCell with the first content data, and displays the ListCell that is filled with the first content data;
- receiving, by the front end layer, a refresh trigger;
- and
- in response to receiving the refresh trigger, transmitting, by the front end layer, second content data to the native layer, wherein the native layer resuses the ListCell and displays the ListCell filled with the second content data.
4 more elements
A computer-implemented system, comprising:
- one or more computers;
- and
- one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform operations comprising:
- defining, by a front end layer of a hybrid software application, a structure and a class of a ListCell;
- obtaining, by the front end layer, first content data;
- creating, by the front end layer, a prototype of the ListCell based on the structure and the class of the ListCell;
- transmitting, by the front end layer, the first content data to a native layer of the hybrid software application, wherein the native layer creates a ListCell template based on the prototype of the ListCell created by the front end layer, obtains a ListCell by copying the ListCell template, fills the ListCell with the first content data, and displays the ListCell that is filled with the first content data;
- receiving, by the front end layer, a refresh trigger;
- and
- in response to receiving the refresh trigger, transmitting, by the front end layer, second content data to the native layer, wherein the native layer resuses the ListCell and displays the ListCell filled with the second content data.
7 more elements
Dependencies are inferred from the claim text.