CN109634490A - A kind of list display method, device, equipment and storage medium - Google Patents
A kind of list display method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109634490A CN109634490A CN201811533884.1A CN201811533884A CN109634490A CN 109634490 A CN109634490 A CN 109634490A CN 201811533884 A CN201811533884 A CN 201811533884A CN 109634490 A CN109634490 A CN 109634490A
- Authority
- CN
- China
- Prior art keywords
- cell
- list
- lists
- data
- metadata
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present disclosure provides a kind of list display method, device, equipment and storage medium, this method comprises: obtaining the corresponding data to be displayed of cell to be shown and cell types of example lists according to the data source information in example lists to be shown;It loads and parses at least one pre-generated and file is described using the cell of structured language, wherein each unit lattice describe to be stored with the corresponding metadata of at least one cell types in file, and metadata includes sub- view hierarchy structure information and attribute setting information;According to the metadata of the corresponding cell types of cell to be shown, creating unit lattice example, and cell example is rendered and shown according to data to be displayed.By the technical solution of the embodiment of the present disclosure, the flexibility of list configuration can be improved, realize the diversity of list display.
Description
Technical field
The embodiment of the present disclosure is related to application-development technologies field more particularly to a kind of list display method, device, sets
Standby and storage medium.
Background technique
When developing the mobile applications based on iOS operating system, developer is answered commonly using list mode to show
Use content.IOS system provides three kinds of lists for developer, respectively UITableView, UICollectionView and
UIScrollView, wherein first two list is realized based on the third list, and UITableView is longitudinally-slidable column
The glide direction of table, UICollectionView can be selected between horizontal and vertical the two, and UIScrollView is in cross
To on longitudinal direction slidably.In process of application development, developer often select UITableView and
UICollectView, so that exploitation is more convenient.The creation development phase basic one of UITableView and UICollectView
It causes, can be summarized as follows:
Step 1, the unit using various types of list cell lattice (Cell) types of primary language definition, in complex lists
Up to more than 20 kinds of lattice (Cell) type;
Step 2 is laid out the sub- view of cell (Cell) types various in step 1;
Step 3 adds data process method for cell (Cell) types various in step 1;
Step 4 adds event handling logic for cell (Cell) types various in step 1;
Step 5, creation example lists, are arranged list attribute, such as background color, layout types, glide direction;
Step 6, all cells (Cell) type defined to example lists registration step 1;
Step 7, the data source agent for realizing example lists and event call-back agency;
Step 8, the creation for completing list.
From the foundation step of list it can be seen that the definition of list cell lattice (Cell) type must be in advance in the wound of list
It builds, that is to say, that the creation strong correlation of list cell lattice (Cell) type and list, in the case where multi-service team collaboration develops environment,
The business of list may be completed jointly by multiple business team, and the difference of team's business progress will lead to team and interdepend, no
Conducive to business cooperation propulsion, while being also unfavorable for dynamically being inserted into new cell (Cell) pattern, to cannot meet the needs
The business demand of flexible configuration;In addition, generally requiring to define a variety of list cells in the somewhat more complex list of a business
Lattice (Cell), and the definition procedure of list cell lattice (Cell) is complicated, also will increase repetitive operation when type increases, for example arrange
The creation, sub- view layout, data processing and event handling etc. of table unit lattice (Cell) sub- view, this greatly reduces exploitation effect
Rate.
After creating list, client is real according to the definition data generating unit lattice for being solidificated in cell types in code
Example, and carry out rendering and show that display effect is single, lack flexibility.
Summary of the invention
In view of this, the embodiment of the present disclosure provides a kind of list display method, device, equipment and storage medium, to mention
The diversity of list display is realized in the flexibility of high list configuration.
In a first aspect, the embodiment of the present disclosure provides a kind of list display method, comprising:
According to the data source information in example lists to be shown, the cell to be shown for obtaining the example lists is corresponding
Data to be displayed and cell types;
It loads and parses at least one pre-generated and file is described using the cell of structured language, wherein each described
Cell describes to be stored with the corresponding metadata of at least one cell types in file, and the metadata includes sub- view level
Structural information and attribute setting information;
According to the metadata of the corresponding cell types of the cell to be shown, creating unit lattice example, and according to institute
It states data to be displayed the cell example is rendered and shown.
Optionally, in the metadata according to the corresponding cell types of the cell to be shown, creating unit lattice example
Later, the method also includes:
If the cell example is released, the cell example is recycled, caches the cell example and the unit
The corresponding cell types of lattice example, so that it is subsequent when needing to show the cell of same type, read the list of caching
First lattice example is simultaneously rendered and is shown to the cell example of reading.
Optionally, the cell example is rendered and is shown according to the data to be displayed, comprising:
Determine that the layout parameter of each sub- view in the cell example, the layout parameter include the size ginseng of sub- view
Several and location parameter of the sub- view in cell;
The cell example is rendered and shown according to the layout parameter and the data to be displayed, and is cached
The layout parameter, so that the subsequent layout parameter using caching renders the cell example of same type.
Optionally, after creating unit lattice example, the method also includes: the sub- view for the cell example adds
Touch-control behavior is added to handle function;
After the cell example is rendered and shown according to the data to be displayed, the method is also wrapped
It includes:
Function check is handled for the touch control operation of the sub- view of display by the touch-control behavior, and is being detected
After the touch control operation, using the information of the touch control operation as input parameter, calls and be arranged in advance for the example lists
Event handling object, to handle the touch control operation.
Optionally, according to the data source information in example lists to be shown, the to be shown of the example lists is obtained
Before the corresponding data to be displayed of cell and cell types, the method also includes:
Example lists are created according to the creation parameter of input, the creation parameter includes: the example lists type that need to be created
With event handling object, the event handling object is used for the touch-control for each control in each unit lattice in the example lists
Operation is handled;
The data source loading interface of the example lists is called to load data source information.
Optionally, it by the list creating function in invocation list factory Factory, is created according to the creation parameter of input
Example lists.
Optionally, the structured language is that JavaScript object marks JASON language or extensible markup language
XML。
Optionally, file loader Loader is described by cell, loads and parse at least one pre-generated and adopts
File is described with the cell of structured language;
By cell generator Generator, according to first number of the corresponding cell types of the cell to be shown
According to creating unit lattice example.
Second aspect, the embodiment of the present disclosure additionally provide a kind of list display device, comprising:
Data to be displayed obtains module, for obtaining the column according to the data source information in example lists to be shown
The corresponding data to be displayed of cell to be shown and cell types of table example;
Cell describes file load module, for loading and parsing at least one pre-generated using structured language
Cell file is described, wherein each cell describes to be stored with the corresponding first number of at least one cell types in file
According to the metadata includes sub- view hierarchy structure information and attribute setting information;
Cell example display module, for the metadata according to the corresponding cell types of the cell to be shown,
Creating unit lattice example, and the cell example is rendered and shown according to the data to be displayed.
Optionally, the device further include:
Cell example cache module, in first number according to the corresponding cell types of the cell to be shown
According to if the cell example is released, recycling the cell example, cache the cell after creating unit lattice example
Example and the corresponding cell types of cell example, so that subsequent need to show the cell of same type
When, it reads the cell example of caching and the cell example of reading is rendered and shown.
Optionally, cell describes file load module, is specifically used for:
Determine that the layout parameter of each sub- view in the cell example, the layout parameter include the size ginseng of sub- view
Several and location parameter of the sub- view in cell;It is real to the cell according to the layout parameter and the data to be displayed
Example is rendered and is shown, and caches the layout parameter, so that the subsequent layout parameter using caching is to same type
Cell example rendered.
Optionally, the device further include:
Touch-control behavior handles function adding module, is used for after creating unit lattice example, the method also includes: for institute
State the sub- view addition touch-control behavior processing function of cell example;
Correspondingly, the device further include:
Event handling object reference module, for being rendered according to the data to be displayed to the cell example
After display, function check is handled for the touch control operation of the sub- view of display by the touch-control behavior, and examining
After measuring the touch control operation, using the information of the touch control operation as input parameter, calls and be directed to the example lists in advance
The event handling object of setting, to handle the touch control operation.
Optionally, the device further include:
Example lists creation module, for obtaining the column according to the data source information in example lists to be shown
Before the corresponding data to be displayed of cell to be shown and cell types of table example, is created and arranged according to the creation parameter of input
Table example, the creation parameter include: the example lists type that need to be created and event handling object, and the event handling object is used
It is handled in the touch control operation for each control in each unit lattice in the example lists;
Data source information loading module, for calling the data source loading interface of the example lists to load data source letter
Breath.
Optionally, example lists creation module is specifically used for: passing through the list creating in invocation list factory Factory
Function creates example lists according to the creation parameter of input.
Optionally, the structured language is that JavaScript object marks JASON language or extensible markup language
XML。
Optionally, cell describes file load module, specifically for describing file loader Loader by cell,
It loads and parses at least one pre-generated and file is described using the cell of structured language;
Cell example display module includes cell example creation module, for passing through cell generator
Generator, according to the metadata of the corresponding cell types of the cell to be shown, creating unit lattice example.
The third aspect, the embodiment of the present disclosure additionally provide a kind of terminal device, and the terminal includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the list display method as provided by disclosure any embodiment.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of computer storage medium, are stored thereon with computer program,
The list display method as provided by disclosure any embodiment is realized when the program is executed by processor.
For the embodiment of the present disclosure by using structured language definition cell type in advance, formation cell describes file,
Rather than primary language is used, allow cell types to lag load and registration, thus in the process of running, when acquisition list
After the corresponding data to be displayed of unit to be shown in example, load can be passed through and by way of resolution unit lattice describe file,
The metadata of the corresponding cell types of unit to be shown is obtained, and can be by describing to add newly in file in cell
The mode of cell types configures list, so as to be shown according to business demand, improves with carrying out dynamic flexible
The flexibility of list configuration, and realize the diversity of list display.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below
There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this public affairs
The some embodiments opened for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 shows a kind of flow chart of list display method of the offer of the embodiment of the present disclosure one;
Fig. 2 shows a kind of flow charts for list display method that the embodiment of the present disclosure two provides;
Fig. 3 shows a kind of flow chart of list display method of the offer of the embodiment of the present disclosure three;
Fig. 4 shows a kind of list display apparatus structure schematic diagram of the offer of the embodiment of the present disclosure four;
Fig. 5 shows a kind of hardware structural diagram of terminal device of the offer of the embodiment of the present disclosure five.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, hereinafter with reference to attached in the embodiment of the present disclosure
Figure, the technical solution of the disclosure is clearly and completely described by embodiment, it is clear that described embodiment is the disclosure one
Section Example, instead of all the embodiments.Based on the embodiment in the disclosure, those of ordinary skill in the art are not being done
Every other embodiment obtained under the premise of creative work out belongs to the range of disclosure protection.
In following each embodiments, optional feature and example are provided simultaneously in each embodiment, that records in embodiment is each
A feature can be combined, and form multiple optinal plans, and the embodiment of each number should not be considered merely as to a technical solution.
Embodiment one
Fig. 1 shows a kind of flow chart of list display method of the offer of the embodiment of the present disclosure one, and the embodiment of the present disclosure can
The case where suitable for showing list the application program based on iOS system, this method can be executed by list display device,
The device can be realized by the mode of software and/or hardware, be integrated in terminal having a display function, as smart phone,
Tablet computer etc..
As shown in Figure 1, the list display method provided in the embodiment of the present disclosure specifically includes the following steps:
S110, according to the data source information in example lists to be shown, obtain the cell pair to be shown of example lists
The data to be displayed and cell types answered.
Wherein, example lists can refer to the list that exploitation is pre-created.Data source information in example lists can
To refer to the information of database or database server used in example lists, data source name can include but is not limited to.
It may include one or more cells to be shown in example lists, the quantity of cell to be shown can be pre- according to business demand
First determine.The present embodiment can be arranged an identifier for each cell types and carry out unique identification, in order to distinguish difference
Cell types.
Specifically, the present embodiment can be according to the data source information in example lists, list number corresponding with example lists
It is attached according to library, so as to corresponding from each cell to be shown in example lists to be shown is obtained in list database
Data to be displayed and corresponding cell types.
S120, load simultaneously parse at least one pre-generated and describe file using the cell of structured language, wherein
Each unit lattice describe to be stored with the corresponding metadata of at least one cell types in file, and metadata includes sub- view level knot
Structure information and attribute setting information.
Wherein, structured language can be but be not limited to JavaScript object label JSON (JavaScript Object
Notation) language or expandable mark language XML (Extensible Markup Language).The corresponding all lists of list
The metadata of first lattice type can be described only in file to a cell in storage, can also be dispersed storage and be retouched to multiple cells
It states in file, so that in multi-service team collaboration, the cell that different business team can provide oneself describes file,
Different business is promoted parallel.Each cell describes file, and to can store one or more cell types corresponding
Metadata.Sub- view hierarchy structure information can refer to the hierarchical relationship information between multiple sub- views that cell includes.Belong to
Property setting information can include but is not limited to color, font, font size and font.
Specifically, the present embodiment can describe the corresponding metadata of every kind of cell types using structured language in advance,
And describe the corresponding metadata storage of all cell types of description in file to one or more cells, so as to
Cell types definition and list creating are decoupled, so that cell types can lag load and registration.The present embodiment
Example lists can be passed through after the corresponding data to be displayed of cell to be shown and cell types for obtaining example lists
It loads and parses at least one cell and describe file, so as to dynamically obtain the corresponding metadata of each cell types.
Illustratively, the present embodiment can be each cell types distribution one when using structured language definition cell type
The unique identifier of a overall situation, in order to describe the corresponding metadata of query unit lattice type in file from cell.
It should be noted that structured language can be used when needing modification list display effect according to business demand
The corresponding metadata of new cell types is described, and the metadata after description is added to cell and is described in file, with more
New cell describes file, to can be described by loading and parsing updated cell when showing to list
File obtains the corresponding metadata of new cell types, so as to can carry out dynamic spirit to list in the operation phase of list
It configures livingly, improves the flexibility of list configuration.
S130, according to the metadata of the corresponding cell types of cell to be shown, creating unit lattice example, and according to
Display data are rendered and are shown to cell example.
Specifically, can by the unique identifier of the corresponding cell types of unit to be shown, analytically after unit
Lattice describe the metadata that the corresponding cell types of cell to be shown are obtained in file.According to the sub- view level in metadata
Structural information can establish the set membership between unit cell view to be shown, to form the sub- view layer of cell to be shown
Grade tree, and according to after parsing attribute setting information and sub- view hierarchical tree can be with creating unit lattice example.In unit to be shown
After the corresponding cell example creation of lattice, cell example can be carried out according to cell to be shown corresponding data to be displayed
Rendering, to show the cell after rendering in display interface.Similarly, list to be shown for each of example lists
For first lattice, each of example lists cell to be shown can be rendered and shown by the operation of execution step S130,
To realize the display of list.
The technical solution of the embodiment of the present disclosure forms unit by using structured language definition cell type in advance
Lattice describe file, rather than use primary language, allow cell types to lag load and registration, thus in operational process
In, it, can be by load and resolution unit lattice be retouched after obtaining the unit to be shown corresponding data to be displayed in example lists
The mode for stating file obtains the metadata of the corresponding cell types of unit to be shown, and can be by describing in cell
The mode that new cell types are added in file configures list, so as to according to business demand with carrying out dynamic flexible
It is shown, improves the flexibility of list configuration, and realize the diversity of list display.
Based on the above technical solution, according to first number of the corresponding cell types of cell to be shown in S130
According to can also include: after creating unit lattice example
If cell example is released, the cell example is recycled, the cell example is cached and the cell is real
The corresponding cell types of example, so that it is subsequent when needing to show the cell of same type, read the cell of caching
Example is simultaneously rendered and is shown to the cell example of reading.
It specifically, can be with recovery unit lattice example, and by cell when cell example is discharged by list after use
Example and the corresponding cell types of cell example are cached, so as to subsequent in the cell for needing to show same type
When, the cell example of caching can be read directly, without re-creating the cell example of the cell types, so as to
The creation time for reducing cell, improves the sliding capability of list.
Illustratively, in the metadata according to the corresponding cell types of cell to be shown, creating unit lattice example it
Before, it can detecte the corresponding idle cell example of cell types that whether there is cell to be shown in caching, if depositing
Then directly reading the cell example;If it does not exist, then analytically after cell describe to obtain unit to be shown in file
The metadata of the corresponding cell types of lattice, according to the metadata creating unit lattice example of acquisition, and the cell of creation is real
Example and corresponding cell types are cached, and create the cell example to avoid subsequent repetition.The present embodiment passes through setting
The reusing degree and creation speed of cell example can be improved, to improve list in the caching mechanism of cell example
Sliding capability.
Based on the above technical solution, cell example is rendered and is shown according to data to be displayed in S130
Show, may include: the layout parameter of each sub- view in determination unit lattice example, wherein layout parameter includes the size ginseng of sub- view
Several and location parameter of the sub- view in cell;According to layout parameter and data to be displayed to cell example carry out rendering and
It has been shown that, and layout parameter is cached, so that the subsequent layout parameter using caching renders the cell example of same type.
Wherein, the dimensional parameters of sub- view can include but is not limited to the height and width of sub- view.Sub- view is in unit
Location parameter in lattice can refer to the display position information of sub- view in the display interface.Specifically, the present embodiment can root
According to the data source information in example lists, in list database corresponding with example lists, pre-set every height is obtained
The relative positional relationship of the view dimensions of view and sub- view and father's view, so as to according to the view dimensions of sub- view and
The dimensional parameters that every sub- view is shown in display interface are calculated in the interface dimensions of display interface, and according to sub- view
The every location parameter of sub- view in cell is calculated in the relative positional relationship of figure and father's view.The present embodiment can delay
The layout parameter of every sub- view in the corresponding cell example of cell to be shown is deposited, is needing aobvious rendering phase so as to subsequent
It, can be directly using the corresponding layout parameter of cell example of caching, nothing with cell types when corresponding cell example
It need to repeat to determine the corresponding layout parameter of cell example, thus can be with by the corresponding layout parameter of cache unit lattice example
Further increase the sliding capability of list.
Based on the above technical solution, in S130 after creating unit lattice example, method further include: be cell
The sub- view addition touch-control behavior of example handles function;It correspondingly, can also include: to be handled by touch-control behavior after S130
Function check for the sub- view of display touch control operation, and after detecting touch control operation, using the information of touch control operation as
Parameter is inputted, is called in advance for the event handling object of example lists setting, to handle touch control operation.
Wherein, touch-control behavior processing function can be predetermined, for detecting whether there are the functions of touch control operation.
Touch control operation can be but not limited to touch behavior or click behavior.Event handling object can be pre-set, be used for
Logical process is carried out to the touch control operation of control in example lists neutron view.
Specifically, whether developer can receive user according to the sub- view in business demand pre-set unit lattice example
Touch control operation, and the specified sub- view information for needing to receive user's touch control operation is stored to cell and is described in file.
After creating unit lattice example, can describe to need to receive in file user's touch control operation according to cell specifies sub- view to believe
Breath handles function each to specify sub- view to add a touch-control behavior in cell example, so as to automatically turn on unit
The touch control operation of lattice example middle finger stator view, so that operation is more convenient.
After list display, it can handle whether function check carries out touch-control behaviour to specified sub- view by touch-control behavior
Make, it, can be by calling event handling object if detect touch control operation, the touch control operation that will test passes through unique thing
Part outlet is transferred to business side, processing is distributed to corresponding event by business side, so as to uniformly pass through touch control operation
Event handling object is transferred to business side.Event compared to cell in iOS system conventional list is required to developer in list
Processing is distributed when first lattice type definition, for these cell events are passed to business side by agent way respectively,
The processing mode of the present embodiment is not necessarily to act on behalf of in different business using realization event call-back is repeated in list, so that operation is more
Add it is convenient and quick, and be conducive to improve development efficiency.
Embodiment two
Fig. 2 shows a kind of flow charts for list display method that the embodiment of the present disclosure two provides, and the present embodiment is with above-mentioned
It is optimized based on each optinal plan in embodiment: in the corresponding number to be shown of cell to be shown for obtaining example lists
" example lists, and data of invocation list example are created according to the creation parameter of input according to increasing before cell types
Source loading interface loads data source information ".Details are not described herein for wherein same as the previously described embodiments or corresponding term explanation.
As shown in Fig. 2, the list display method provided in the embodiment of the present disclosure specifically includes the following steps:
S210, example lists are created according to the creation parameter of input, wherein creation parameter includes: the example lists that need to be created
Type and event handling object, event handling object are used for the touch control operation for each control in each unit lattice in example lists
It is handled.
Wherein, example lists type can be according to the preassigned bottom list type of business demand.Event handling pair
It is preassigned according to business demand as being also possible to, for handling the touch-control of each control in each cell in example lists
Operation.Control in cell, which refers to, can carry out the component of touch-control, for example thumb up button etc..
Illustratively, it by the list creating function in invocation list factory Factory, is created according to the creation parameter of input
Build example lists.
Wherein, list creating function can be predetermined in list factory Factory, for the creation according to input
Parameter creates example lists.List factory Factory is realized based on the list built in iOS system, and iOS is supported in bottom list
UITableView, UICollectionView or UIScrollView list of system, developer can pass through list factory
List creating function creation example lists in Factory.Specifically, ginseng can be inputted using the creation parameter of input as function
It counts, the list creating function in invocation list factory Factory, so as to quickly and conveniently create corresponding example lists.
It should be noted that the list factory Factory in the present embodiment can unify to realize the data source agent of list
It is acted on behalf of with event call-back, to only need to be using one example lists of list creating function creation in list factory Factory
List can be run, so as to further decrease the workload of developer, further improves development efficiency.In the present embodiment
List factory Factory can shield the difference between the conventional list based on iOS system, so that developer is when using list
The difference between bottom list can not be perceived, so as to neatly handoff list type, meets the long-term iteration demand of business.
The data source loading interface load data source information of S220, invocation list example.
Specifically, it is corresponding can to load example lists by the data source loading interface of invocation list example for the present embodiment
Data source information, so as to disposably inject data by way of interface, so that being consistent property before and after table data.
S230, according to the data source information in example lists to be shown, obtain the cell pair to be shown of example lists
The data to be displayed and cell types answered.
S240, load simultaneously parse at least one pre-generated and describe file using the cell of structured language, wherein
Each unit lattice describe to be stored with the corresponding metadata of at least one cell types in file, and metadata includes sub- view level knot
Structure information and attribute setting information.
Illustratively, file loader Loader can be described by cell, load and parse it is pre-generated at least
One describes file using the cell of structured language.Wherein, cell, which describes file loader Loader, can be used for bearing
Duty cell describes the maintenance of the corresponding metadata of load, parsing and cell types of file.
S250, according to the metadata of the corresponding cell types of cell to be shown, creating unit lattice example, and according to
Display data are rendered and are shown to cell example.
It illustratively, can be by cell generator Generator, according to the corresponding cell class of cell to be shown
The metadata of type, creating unit lattice example.Wherein, cell generator Generator can serve list factory, for giving birth to
At cell example and recycling required for list factory and cache the cell example of generation.
The technical solution of the embodiment of the present disclosure, by the corresponding number to be shown of cell to be shown for obtaining example lists
According to before cell types, example lists can be created according to the creation parameter of input, and after creating example lists
List is run, realizes that the data source agent of list and event call-back are acted on behalf of without repeating, to improve development efficiency.And lead to
The data source information using data source loading interface load example lists is crossed, thereby may be ensured that the consistency of table data.
Embodiment three
Fig. 3 shows a kind of flow chart of list display method of the offer of the embodiment of the present disclosure three, and the present embodiment is with above-mentioned
Based on each optinal plan in embodiment, a kind of preferred embodiment is provided.It is wherein identical or corresponding as the various embodiments described above
The explanation of term details are not described herein.
As shown in figure 3, the list display method provided in the embodiment of the present disclosure specifically includes the following steps:
It is real to create list according to the creation parameter of input for list creating function in S310, invocation list factory Factory
Example.
Wherein, list factory Factory can be unified for list and realize data source agent and event call-back agency, to open
Originator, which only needs to create an example lists i.e. by list factory Factory, can be used, and further reduce the work of developer
It measures, improves development efficiency.
S320, call unit lattice describe file loader Loader, and dynamically load simultaneously parses at least one pre-generated
File is described using the cell of structured language.
Specifically, in the operation phase, file loader Loader can be described with call unit lattice, so that cell describes
File loader Loader with dynamically load and can parse at least one cell and describe file.It is defined using structured language
When cell types, a global unique identifier can be preassigned for each cell types, to facilitate inquiry.
Illustratively, the father and son that Loader reading unit lattice describe to can establish between singleton unit cell view after file is closed
System, forms sub- view hierarchical tree, and the sub- view hierarchical tree of generation is cached, can directly use, be not necessarily to so as to subsequent
It repeatedly generates.
S330, the column being back to the cell types corresponding unique identifier after parsing in list factory Factory
Table example, so that example lists use the corresponding unique identifier registering unit lattice type of cell types.
Specifically, after Loader, which has parsed cell, describes file, all cell types of parsing are corresponding only
One identifier is back to the example lists in list factory Factory, so that example lists can infuse these unique identifiers
In the system list that volume is used to bottom, so that bottom list can obtain all cell types of developer's offer.
The data source loading interface of example lists loads data source information in S340, invocation list factory Factory.
Specifically, it when developer gets out the data source of list, can be loaded by the data source of invocation list example
Interface loads data source information.It should be noted that list factory Factory can be shielded between iOS system bottom list
Difference, and by providing consistent unified interface to for developer, so as to allow developer neatly to switch bottom list
Type.
It should be noted that the present embodiment, which does not limit, executes sequence when step S340 is executed, for example step S340 can be with
It executes, can also be executed before step S320 after step S330.
Data acquisition function in S350, invocation list factory Factory obtains example lists according to data source information
The corresponding data to be displayed of cell to be shown and corresponding cell types unique identifier.
S360, using the unique identifier of the corresponding cell types of unit to be shown as input parameter, call unit lattice
Generator Generator is detected and be whether there is the corresponding cell example of the cell types in caching, if so, entering step
Rapid S370;If it is not, then entering step S380.
S370, the corresponding cell example of cell types in caching is back to example lists, and entered step
S391。
Specifically, there are when corresponding cell example in Generator caching, immediately by corresponding cell example
It is back in example lists, so as to shorten the creation time of cell example, improves the sliding capability of list.
S380, the caching for describing file loader Loader from cell according to the corresponding unique identifier of cell types
It is middle to extract corresponding metadata.
Specifically, it when corresponding cell example is not present in Generator caching, is extracted from the caching of Loader
The corresponding metadata of the corresponding unique identifier of cell types.
Cell in S390, call unit lattice generator Generator creates function, is created according to the metadata of extraction
Cell example, and the cell example of creation is back to example lists.
Specifically, by creating corresponding cell example according to the metadata of extraction based on Generator, and will creation
Cell example be back to the example lists created in list factory Factory.The list that the present embodiment is used in example lists
It, can be by the way that the cell example be recycled and cached using Generator, so that subsequent needs are to phase when first lattice example is released
When the cell of same type is shown, the cell example of caching can be read directly, improve the sliding capability of list.
It should be noted that the cell types in the present embodiment are described using the description language of structuring, without
It is that primary language is defined, so that the creation of cell example can be automatically performed by cell generator Generator,
It is operated to reduce the creation of the cell example of developer's repeated and redundant.
Rendering function in S391, invocation list factory Factory carries out wash with watercolours to cell example according to data to be displayed
Dye and display.
The technical solution of the embodiment of the present disclosure describes file loader Loader and list work by invocation list cell
Factory Factory can be defined and example lists creation with dynamically load list cell lattice type to realize list cell lattice
Decoupling, and also support dynamically to add new cell types to list, improve the flexibility and list of list configuration
The diversity of display.And example lists can reuse the cell example discharged by list, so as to avoid list
The case where interacting Caton, substantially increases the sliding capability of list.
It is the embodiment for the list display device that the embodiment of the present disclosure provides, the column of the device and the various embodiments described above below
Table display methods belongs to the same inventive concept, the detail content of not detailed description in the embodiment of list display device, can
With the embodiment with reference to above-mentioned list display method.
Example IV
Fig. 4 shows a kind of list display apparatus structure schematic diagram of the offer of the embodiment of the present disclosure four, the embodiment of the present disclosure
It is applicable to the case where list is shown in the application program based on iOS system.As shown in figure 4, list in the embodiment of the present disclosure
Display device specifically includes: data to be displayed obtains module 410, cell describes file load module 420 and cell example
Display module 430.
Wherein, data to be displayed obtains module 410, for obtaining according to the data source information in example lists to be shown
Take the corresponding data to be displayed of cell to be shown and cell types of example lists;Cell describes file load module
420, file is described using the cell of structured language for loading and parsing at least one pre-generated, wherein each unit
Lattice describe to be stored with the corresponding metadata of at least one cell types in file, and metadata includes sub- view hierarchy structure information
With attribute setting information;Cell example display module 430, for the member according to the corresponding cell types of cell to be shown
Data, creating unit lattice example, and cell example is rendered and shown according to data to be displayed.
Optionally, the device further include:
Cell example cache module, in the metadata according to the corresponding cell types of cell to be shown, wound
It builds after cell example, if cell example is released, recycles the cell example, cache the cell example and be somebody's turn to do
The corresponding cell types of cell example, so that it is subsequent when needing to show the cell of same type, read caching
Cell example and the cell example of reading is rendered and is shown.
Optionally, cell describes file load module 420, is specifically used for:
The layout parameter of each sub- view in determination unit lattice example, layout parameter include the dimensional parameters and son view of sub- view
Location parameter of the figure in cell;Cell example is rendered and shown according to layout parameter and data to be displayed, and
Layout parameter is cached, so that the subsequent layout parameter using caching renders the cell example of same type.
Optionally, the device further include:
Touch-control behavior handles function adding module, is used for the method after creating unit lattice example further include: is cell
The sub- view addition touch-control behavior of example handles function;
Correspondingly, the device further include:
Event handling object reference module, for being rendered to cell example according to data to be displayed and showing it
Afterwards, function check is handled for the touch control operation of the sub- view of display by touch-control behavior, and after detecting touch control operation, it will
The information of touch control operation is called as input parameter in advance for the event handling object of example lists setting, to grasp to touch-control
It is handled.
Optionally, the device further include:
Example lists creation module, for it is real to obtain list according to the data source information in example lists to be shown
Before the corresponding data to be displayed of cell to be shown and cell types of example, it is real that list is created according to the creation parameter of input
Example, creation parameter include: the example lists type that need to be created and event handling object, and event handling object is used for for list
The touch control operation of each control is handled in each unit lattice in example;
Data source information loading module, the data source loading interface for invocation list example load data source information.
Optionally, example lists creation module is specifically used for: passing through the list creating in invocation list factory Factory
Function creates example lists according to the creation parameter of input.
Optionally, structured language is that JavaScript object marks JASON language or expandable mark language XML.
Optionally, cell describes file load module 420, specifically for describing file loader by cell
Loader, loads and parses pre-generated at least one and describe file using the cell of structured language;
Cell example display module 430 includes cell example creation module, for passing through cell generator
Generator, according to the metadata of the corresponding cell types of cell to be shown, creating unit lattice example.
It is aobvious that list provided by any embodiment of the invention can be performed in list display device provided by the embodiment of the present disclosure
Show method, has and execute the corresponding functional module of list display method and beneficial effect.
Embodiment five
Fig. 5 shows a kind of hardware structural diagram of terminal device of the offer of the embodiment of the present disclosure five.The disclosure is implemented
It is (personal that terminal device in example can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA
Digital assistants), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle mounted guidance terminal) etc.
Deng mobile terminal and such as number TV, desktop computer etc. fixed terminal.Terminal device shown in Fig. 5 is only one
A example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 5, terminal device 500 may include processing unit (such as central processing unit, graphics processor etc.)
501, it can be according to the program being stored in read-only memory (Read-Only Memory, ROM) 502 or from storage device
508 programs being loaded into random access storage device (Random Access Memory, RAM) 503 and execute various appropriate
Movement and processing.In RAM 503, also it is stored with terminal device 500 and operates required various programs and data.Processing unit
501, ROM 502 and RAM503 is connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to bus
504。
In general, following device can connect to I/O interface 505: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 506 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 507 of dynamic device etc.;Storage device 508 including such as tape, hard disk etc.;And communication device 509.Communication device
509, which can permit terminal device 500, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 5 shows tool
There is the terminal device 500 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with
Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communication device 509, or from storage device 508
It is mounted, or is mounted from ROM 502.When the computer program is executed by processing unit 501, the embodiment of the present disclosure is executed
Method in the above-mentioned function that limits.
The list display method that the server and above-described embodiment that the embodiment of the present disclosure proposes propose belongs to same invention structure
Think, the technical detail of detailed description not can be found in above-described embodiment in the present embodiment, and the present embodiment has execution list
The identical beneficial effect of display methods.
Embodiment six
The embodiment of the present disclosure provides a kind of computer storage medium, is stored thereon with computer program, which is located
Reason device realizes list display method provided by above-mentioned any embodiment when executing.
It should be noted that the above-mentioned computer storage medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Take formula computer disk, hard disk, random access storage device (Random Access Memory, RAM), read-only memory (Read-
Only Memory, ROM), erasable programmable read only memory (Erasable Programmable Read-Only
Memory, EPROM) or flash memory (FLASH), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device,
Magnetic memory device or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be any packet
Contain or store the tangible medium of program, which can be commanded execution system, device or device use or in connection
It uses.And in the disclosure, computer-readable signal media may include propagating in a base band or as carrier wave a part
Data-signal, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, packet
Include but be not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be meter
Any computer-readable medium other than calculation machine readable storage medium storing program for executing, which can send, propagate or
Person's transmission is for by the use of instruction execution system, device or device or program in connection.Computer-readable Jie
The program code for including in matter can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc.
Deng or above-mentioned any appropriate combination.
Above-mentioned computer storage can be included in above-mentioned terminal device;It is also possible to individualism, and it is unassembled
Enter in the terminal device.
Above-mentioned computer storage carries one or more program, when said one or multiple programs are set by the terminal
It is standby when executing so that the terminal device: according to the data source information in example lists to be shown, obtain example lists to aobvious
Show the corresponding data to be displayed of cell and cell types;It loads and parses at least one pre-generated using structuring language
The cell of speech describes file, and wherein each unit lattice describe to be stored with the corresponding first number of at least one cell types in file
According to metadata includes sub- view hierarchy structure information and attribute setting information;According to the corresponding cell class of cell to be shown
The metadata of type, creating unit lattice example, and cell example is rendered and shown according to data to be displayed.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+
+, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can
Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package,
Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part.
In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN)
Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service
Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard
The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the
One data to be displayed obtains module, is also described as " according to the data source information in example lists to be shown, obtaining institute
State the module of the cell to be shown corresponding data to be displayed and cell types of example lists ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (11)
1. a kind of list display method characterized by comprising
According to the data source information in example lists to be shown, obtain the example lists cell to be shown it is corresponding to
Show data and cell types;
It loads and parses at least one pre-generated and file is described using the cell of structured language, wherein each unit
Lattice describe to be stored with the corresponding metadata of at least one cell types in file, and the metadata includes sub- view hierarchical structure
Information and attribute setting information;
According to the metadata of the corresponding cell types of the cell to be shown, creating unit lattice example, and according to it is described to
Display data are rendered and are shown to the cell example.
2. the method according to claim 1, wherein according to the corresponding cell class of the cell to be shown
The metadata of type, after creating unit lattice example, the method also includes:
If the cell example is released, the cell example is recycled, the cell example is cached and the cell is real
The corresponding cell types of example, so that it is subsequent when needing to show the cell of same type, read the cell of caching
Example is simultaneously rendered and is shown to the cell example of reading.
3. the method according to claim 1, wherein according to the data to be displayed to the cell example into
Row rendering and display, comprising:
The layout parameter of each sub- view in the cell example is determined, wherein the layout parameter includes the size ginseng of sub- view
Several and location parameter of the sub- view in cell;
The cell example is rendered and shown according to the layout parameter and the data to be displayed, and described in caching
Layout parameter, so that the subsequent layout parameter using caching renders the cell example of same type.
4. the method according to claim 1, wherein after creating unit lattice example, the method also includes:
Touch-control behavior processing function is added for the sub- view of the cell example;
After the cell example is rendered and is shown according to the data to be displayed, the method also includes:
Function check is handled for the touch control operation of the sub- view of display by the touch-control behavior, and described detecting
After touch control operation, using the information of the touch control operation as input parameter, call in advance for the thing of example lists setting
Part process object, to handle the touch control operation.
5. the method according to claim 1, wherein believing according to the data source in example lists to be shown
It ceases, before the corresponding data to be displayed of cell to be shown and the cell types that obtain the example lists, the method is also
Include:
Example lists are created according to the creation parameter of input, wherein the creation parameter includes: the example lists type that need to be created
With event handling object, the event handling object is used for the touch-control for each control in each unit lattice in the example lists
Operation is handled;
The data source loading interface of the example lists is called to load data source information.
6. according to the method described in claim 5, it is characterized in that, passing through the list creating in invocation list factory Factory
Function creates example lists according to the creation parameter of input.
7. method according to claim 1 to 6, which is characterized in that the structured language is JavaScript
Object tag JSON language or expandable mark language XML.
8. method according to claim 1 to 6, which is characterized in that describe file loader by cell
Loader, loads and parses pre-generated at least one and describe file using the cell of structured language;
By cell generator Generator, according to the metadata of the corresponding cell types of the cell to be shown, wound
Build cell example.
9. a kind of list display device characterized by comprising
Data to be displayed obtains module, for it is real to obtain the list according to the data source information in example lists to be shown
The corresponding data to be displayed of cell to be shown and cell types of example;
Cell describes file load module, uses the list of structured language for loading and parsing at least one pre-generated
First lattice describe file, wherein each cell describes to be stored with the corresponding metadata of at least one cell types in file,
The metadata includes sub- view hierarchy structure information and attribute setting information;
Cell example display module, for the metadata according to the corresponding cell types of the cell to be shown, creation
Cell example, and the cell example is rendered and shown according to the data to be displayed.
10. a kind of terminal device, which is characterized in that the terminal includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as list display method described in any one of claims 1-8.
11. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the program is executed by processor
Shi Shixian list display method for example described in any one of claims 1-8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811533884.1A CN109634490B (en) | 2018-12-14 | 2018-12-14 | List display method, device, equipment and storage medium |
PCT/CN2019/125316 WO2020119800A1 (en) | 2018-12-14 | 2019-12-13 | List display method, apparatus and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811533884.1A CN109634490B (en) | 2018-12-14 | 2018-12-14 | List display method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109634490A true CN109634490A (en) | 2019-04-16 |
CN109634490B CN109634490B (en) | 2020-05-12 |
Family
ID=66074146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811533884.1A Active CN109634490B (en) | 2018-12-14 | 2018-12-14 | List display method, device, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109634490B (en) |
WO (1) | WO2020119800A1 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110442854A (en) * | 2019-08-13 | 2019-11-12 | 北京源清慧虹信息科技有限公司 | Generation method, device, computer equipment and the readable storage medium storing program for executing of report |
CN111124394A (en) * | 2019-11-26 | 2020-05-08 | 泰康保险集团股份有限公司 | Form configuration method and device based on metadata, equipment and medium |
CN111126027A (en) * | 2019-12-25 | 2020-05-08 | 北京锐安科技有限公司 | List generation method, device, equipment and medium |
CN111290680A (en) * | 2020-01-21 | 2020-06-16 | 腾讯科技(深圳)有限公司 | List display method, device, terminal and storage medium |
WO2020119800A1 (en) * | 2018-12-14 | 2020-06-18 | 北京字节跳动网络技术有限公司 | List display method, apparatus and device, and storage medium |
CN111339463A (en) * | 2020-02-19 | 2020-06-26 | 望海康信(北京)科技股份公司 | List data display method and device and electronic equipment |
CN111949841A (en) * | 2019-05-14 | 2020-11-17 | 京东方科技集团股份有限公司 | List display method and device, computer equipment and computer readable medium |
CN113051012A (en) * | 2021-03-18 | 2021-06-29 | 平安普惠企业管理有限公司 | Data loading method, device, equipment and medium based on list view |
CN114327728A (en) * | 2021-12-29 | 2022-04-12 | 浪潮卓数大数据产业发展有限公司 | Application unit grid construction method, device and medium |
CN114428656A (en) * | 2021-12-17 | 2022-05-03 | 北京达佳互联信息技术有限公司 | Popup display method and device |
CN115237413A (en) * | 2022-09-22 | 2022-10-25 | 北京达佳互联信息技术有限公司 | List processing method and device, electronic equipment and storage medium |
CN115344167A (en) * | 2022-08-24 | 2022-11-15 | 北京字跳网络技术有限公司 | Method, apparatus, device and medium for managing view unit |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080250313A1 (en) * | 2007-04-06 | 2008-10-09 | Microsoft Corporation | Metadata-driven automatic UI code generation |
CN102339291A (en) * | 2010-07-23 | 2012-02-01 | 阿里巴巴集团控股有限公司 | Method and equipment for generating list |
CN102646038A (en) * | 2012-02-28 | 2012-08-22 | 广州市动景计算机科技有限公司 | Control content display method, control content display device and mobile terminal |
CN104933019A (en) * | 2015-06-05 | 2015-09-23 | 亚信科技(南京)有限公司 | List generating method and device |
CN106681698A (en) * | 2015-11-05 | 2017-05-17 | 阿里巴巴集团控股有限公司 | Dynamic list generating method and device |
CN107329795A (en) * | 2017-06-23 | 2017-11-07 | 北京酷我科技有限公司 | A kind of TableView optimization methods |
CN108563477A (en) * | 2018-03-02 | 2018-09-21 | 北京奇艺世纪科技有限公司 | A kind of page events response method and device |
CN108664296A (en) * | 2017-03-31 | 2018-10-16 | 阿里巴巴集团控股有限公司 | A kind of page rendering method and apparatus, a kind of page processing method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9195643B2 (en) * | 2012-12-31 | 2015-11-24 | Appsense Limited | Data driven hierarchical pages |
CN107992458B (en) * | 2016-10-26 | 2021-03-26 | 腾讯科技(北京)有限公司 | Table rule generation method and device, storage medium and electronic equipment |
CN109634490B (en) * | 2018-12-14 | 2020-05-12 | 北京字节跳动网络技术有限公司 | List display method, device, equipment and storage medium |
-
2018
- 2018-12-14 CN CN201811533884.1A patent/CN109634490B/en active Active
-
2019
- 2019-12-13 WO PCT/CN2019/125316 patent/WO2020119800A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080250313A1 (en) * | 2007-04-06 | 2008-10-09 | Microsoft Corporation | Metadata-driven automatic UI code generation |
CN102339291A (en) * | 2010-07-23 | 2012-02-01 | 阿里巴巴集团控股有限公司 | Method and equipment for generating list |
CN102646038A (en) * | 2012-02-28 | 2012-08-22 | 广州市动景计算机科技有限公司 | Control content display method, control content display device and mobile terminal |
CN104933019A (en) * | 2015-06-05 | 2015-09-23 | 亚信科技(南京)有限公司 | List generating method and device |
CN106681698A (en) * | 2015-11-05 | 2017-05-17 | 阿里巴巴集团控股有限公司 | Dynamic list generating method and device |
CN108664296A (en) * | 2017-03-31 | 2018-10-16 | 阿里巴巴集团控股有限公司 | A kind of page rendering method and apparatus, a kind of page processing method and device |
CN107329795A (en) * | 2017-06-23 | 2017-11-07 | 北京酷我科技有限公司 | A kind of TableView optimization methods |
CN108563477A (en) * | 2018-03-02 | 2018-09-21 | 北京奇艺世纪科技有限公司 | A kind of page events response method and device |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020119800A1 (en) * | 2018-12-14 | 2020-06-18 | 北京字节跳动网络技术有限公司 | List display method, apparatus and device, and storage medium |
CN111949841A (en) * | 2019-05-14 | 2020-11-17 | 京东方科技集团股份有限公司 | List display method and device, computer equipment and computer readable medium |
CN110442854B (en) * | 2019-08-13 | 2023-04-07 | 北京源清慧虹信息科技有限公司 | Report generation method and device, computer equipment and readable storage medium |
CN110442854A (en) * | 2019-08-13 | 2019-11-12 | 北京源清慧虹信息科技有限公司 | Generation method, device, computer equipment and the readable storage medium storing program for executing of report |
CN111124394A (en) * | 2019-11-26 | 2020-05-08 | 泰康保险集团股份有限公司 | Form configuration method and device based on metadata, equipment and medium |
CN111126027A (en) * | 2019-12-25 | 2020-05-08 | 北京锐安科技有限公司 | List generation method, device, equipment and medium |
CN111290680B (en) * | 2020-01-21 | 2021-10-22 | 腾讯科技(深圳)有限公司 | List display method, device, terminal and storage medium |
CN111290680A (en) * | 2020-01-21 | 2020-06-16 | 腾讯科技(深圳)有限公司 | List display method, device, terminal and storage medium |
CN111339463A (en) * | 2020-02-19 | 2020-06-26 | 望海康信(北京)科技股份公司 | List data display method and device and electronic equipment |
CN111339463B (en) * | 2020-02-19 | 2023-07-04 | 望海康信(北京)科技股份公司 | Display method and device of list data and electronic equipment |
CN113051012A (en) * | 2021-03-18 | 2021-06-29 | 平安普惠企业管理有限公司 | Data loading method, device, equipment and medium based on list view |
CN113051012B (en) * | 2021-03-18 | 2022-12-02 | 平安普惠企业管理有限公司 | Data loading method, device, equipment and medium based on list view |
CN114428656A (en) * | 2021-12-17 | 2022-05-03 | 北京达佳互联信息技术有限公司 | Popup display method and device |
CN114428656B (en) * | 2021-12-17 | 2024-03-12 | 北京达佳互联信息技术有限公司 | Popup window display method and device |
CN114327728A (en) * | 2021-12-29 | 2022-04-12 | 浪潮卓数大数据产业发展有限公司 | Application unit grid construction method, device and medium |
CN115344167A (en) * | 2022-08-24 | 2022-11-15 | 北京字跳网络技术有限公司 | Method, apparatus, device and medium for managing view unit |
CN115237413A (en) * | 2022-09-22 | 2022-10-25 | 北京达佳互联信息技术有限公司 | List processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109634490B (en) | 2020-05-12 |
WO2020119800A1 (en) | 2020-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634490A (en) | A kind of list display method, device, equipment and storage medium | |
CN109634598A (en) | A kind of page display method, device, equipment and storage medium | |
CN109523187A (en) | Method for scheduling task, device and equipment | |
US9471213B2 (en) | Chaining applications | |
CN103984626B (en) | A kind of method and device for generating test case script | |
CN109739478A (en) | Front end project automated construction method, device, storage medium and electronic equipment | |
US9477787B2 (en) | Method and apparatus for information clustering based on predictive social graphs | |
CN106537426A (en) | Automatically generating execution sequences for workflows | |
CN102054217B (en) | Entity morphing in metamodel-based tools | |
US20140019887A1 (en) | Method of encapsulating diverse user interface components while consistently enforcing external constraints | |
CN108549568A (en) | Using entrance processing method, apparatus, storage medium and electronic equipment | |
CN109491742A (en) | Page tabular rendering method and device | |
CN109634599A (en) | Display methods, device, equipment and the storage medium of page view | |
CN109359281A (en) | Dynamic list generation method and device | |
CN112882764B (en) | Component loading method and device, computer equipment and storage medium | |
CN113268260A (en) | Routing method and device for web front end | |
CN110309444A (en) | A kind of page display method, device, medium and server | |
CN109491646A (en) | A kind of message input method, device, electronic equipment and readable medium | |
US10176237B2 (en) | Graphically displaying lifecycle information of a governed object in a service registry in combination with the policies asserted for the lifecycle states | |
CN109462648A (en) | A kind of user behavior tracking, device, equipment and storage medium | |
CN109492039A (en) | A kind of recording method of daily record data, device, electronic equipment and readable medium | |
Miravet et al. | Framework for the declarative implementation of native mobile applications | |
Zhou et al. | Semantic-based discovery method for high-performance computing resources in cyber-physical systems | |
CN116069227A (en) | Interface interaction method, device, equipment and storage medium | |
US9727311B2 (en) | Generating a service definition including a common service action |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |