IP Library Granted Patent US 10,691,427
Granted Patent B2
US 10,691,427 · App. 16/119,224 · Granted Jun 23, 2020

Method and apparatus reusing listcell in hybrid application

Inventors: Weigang Guan (Hangzhou, CN); Danxia Shi (Hangzhou, CN); Wenhong Chen (Hagzhou, CN)
Assignee: Alibab Group Holding Limited
G06F8/36G06F8/20G06F8/312G06F16/957Y02W30/826
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,691,427
App. No.
16/119,224
Granted
Jun 23, 2020
Kind
B2
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.

Claims (56)

1. A computer-implemented method, comprising:

defining, by a front end layer of a hybrid software application, a prototype of a ListCell;

creating, by a native layer of the hybrid software application, a ListCell template based on a created prototype of the ListCell defined by the front end layer;

obtaining, by the native layer, a ListCell by copying the ListCell template;

obtaining, by the native layer, first ListCell content transmitted from the front end layer;

filling, by the native d layer, the ListCell with the obtained first ListCell content;

initiating, by the native layer, display of the ListCell having the first ListCell content; and

reusing, by the native layer, the ListCell, comprising:

in response to a user input, determining that the first ListCell content has been moved out of a display area of the native layer,

in response, removing the first ListCell content from the ListCell,

obtaining second ListCell content transmitted from the front end layer, and

refilling the ListCell with the second ListCell content.

2. The computer-implemented method of claim 1 , wherein defining the prototype of the ListCell comprises defining a structure layout and a class of the prototype of the ListCell.

3. The computer-implemented method of claim 1 , wherein obtaining the ListCell comprises:

traversing and obtaining all sub-views of the ListCell template; and

creating a ListCell that comprises all the sub-views and attributes of the sub-views.

4. The computer-implemented method of claim 3 , wherein filling the ListCell comprises filling the obtained first ListCell content in each corresponding sub-view of the created ListCell, wherein the obtained first ListCell content is obtained from the front end of the hybrid software application.

5. The computer-implemented method of claim 1 , comprising, during obtaining the ListCell by copying the ListCell template, a number of copied ListCells is determined based on a number of ListCells that can be displayed in a computer display area.

6. 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 prototype of a ListCell;

creating, by a native layer of the hybrid software application, a ListCell template based on a created prototype of the ListCell defined by the front end layer;

obtaining, by the native layer, a ListCell by copying the ListCell template;

obtaining, by the native layer, first ListCell content transmitted from the front end layer;

filling, by the native layer, the ListCell with the obtained first ListCell content;

initiating, by the native layer, display of the ListCell having the first ListCell content; and

reusing, by the native layer, the ListCell, comprising:

in response to a user input, determining that the first ListCell content has been moved out of a display area of the native layer,

in response, removing the first ListCell content from the ListCell,

obtaining second ListCell content transmitted from the front end layer, and

refilling the ListCell with the second ListCell content.

7. The non-transitory, computer-readable medium of claim 6 , wherein defining the prototype of the ListCell comprises one or more instructions to define a structure layout and a class of the prototype of the ListCell.

8. The non-transitory, computer-readable medium of claim 6 , wherein obtaining the ListCell comprises one or more instructions to:

traverse and obtain all sub-views of the ListCell template; and

create a ListCell that comprises all the sub-views and attributes of the sub-views.

9. The non-transitory, computer-readable medium of claim 8 , wherein filling the ListCell comprises one or more instructions to fill the obtained first ListCell content in each corresponding sub-view of the created ListCell, wherein the obtained first ListCell content is obtained from the front end of the hybrid software application.

10. The non-transitory, computer-readable medium of claim 6 , comprising, during obtaining the ListCell by copying the ListCell template, one or more instructions to determine a number of copied ListCells based on a number of ListCells that can be displayed in a computer display area.

11. 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 one or more operations comprising:

defining, by a front end layer of a hybrid software application, a prototype of a ListCell;

creating, by a native layer of the hybrid software application, a ListCell template based on a created prototype of the ListCell defined by the front end layer;

obtaining, by the native layer, a ListCell by copying the ListCell template;

obtaining, by the native layer, first ListCell content transmitted from the front end layer;

filling, by the native layer, the ListCell with the obtained first ListCell content;

initiating, by the native layer, display of the ListCell having the first ListCell content; and

reusing, by the native layer, the ListCell, comprising:

in response to a user input, determining that the first ListCell content has been moved out of a display area of the native layer,

in response, removing the first ListCell content from the ListCell,

obtaining second ListCell content transmitted from the front end layer, and

refilling the ListCell with the second ListCell content.

12. The computer-implemented system of claim 11 , wherein defining the prototype of the ListCell comprises one or more instructions to define a structure layout and a class of the prototype of the ListCell.

13. The computer-implemented system of claim 11 , wherein obtaining the ListCell comprises one or more instructions to:

traverse and obtain all sub-views of the ListCell template; and

create a ListCell that comprises all the sub-views and attributes of the sub-views; and

wherein filling the ListCell comprises one or more instructions to fill the obtained first ListCell content in each corresponding sub-view of the created ListCell, wherein the obtained first ListCell content is obtained from the front end of the hybrid software application.

14. The computer-implemented system of claim 11 , comprising, during obtaining the ListCell by copying the ListCell template, one or more instructions to determine a number of copied ListCells based on a number of ListCells that can be displayed in a computer display area.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 5, 2019
From: GUAN, WEIGANG; SHI, DANXIA; CHEN, WENHONG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 047910/0301 →