CN109634490B - List display method, device, equipment and storage medium - Google Patents

List display method, device, equipment and storage medium Download PDF

Info

Publication number
CN109634490B
CN109634490B CN201811533884.1A CN201811533884A CN109634490B CN 109634490 B CN109634490 B CN 109634490B CN 201811533884 A CN201811533884 A CN 201811533884A CN 109634490 B CN109634490 B CN 109634490B
Authority
CN
China
Prior art keywords
cell
list
displayed
instance
data
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.)
Active
Application number
CN201811533884.1A
Other languages
Chinese (zh)
Other versions
CN109634490A (en
Inventor
温增葵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811533884.1A priority Critical patent/CN109634490B/en
Publication of CN109634490A publication Critical patent/CN109634490A/en
Priority to PCT/CN2019/125316 priority patent/WO2020119800A1/en
Application granted granted Critical
Publication of CN109634490B publication Critical patent/CN109634490B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation 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)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the disclosure provides a list display method, a list display device, a list display apparatus and a storage medium, wherein the method comprises the following steps: acquiring to-be-displayed data and cell types corresponding to-be-displayed cells of the list example according to the data source information in the list example to be displayed; loading and analyzing at least one pre-generated cell description file adopting a structured language, wherein each cell description file stores metadata corresponding to at least one cell type, and the metadata comprises sub-view hierarchical structure information and attribute setting information; and creating a cell example according to the metadata of the cell type corresponding to the cell to be displayed, and rendering and displaying the cell example according to the data to be displayed. Through the technical scheme of the embodiment of the disclosure, the flexibility of list configuration can be improved, and the diversity of list display is realized.

Description

List display method, device, equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of application program development, and in particular relates to a list display method, device, equipment and storage medium.
Background
In developing mobile applications based on the iOS operating system, developers often use a list approach to expose application content. The iOS system provides three lists for developers, namely UITableView, UICollectionView and UIScrollView, wherein the former two lists are realized based on the third list, the UITableView is a longitudinal slidable list, the sliding direction of the UICollectionView can be selected between the transverse direction and the longitudinal direction, and the UIScrollView can be slid in the transverse direction and the longitudinal direction. During the development process of the application program, a developer often selects UITableView and UICollectitView to facilitate development. The creation and development phases of UITableView and UICollectitView are basically consistent, and can be summarized as follows:
step 1, defining various types of list Cell (Cell) types by using a native language, wherein the Cell (Cell) types in a complex list are more than 20;
step 2, laying out the child views of various Cell (Cell) types in the step 1;
step 3, adding data processing logic for various Cell (Cell) types in the step 1;
step 4, adding event processing logic for various Cell (Cell) types in the step 1;
step 5, creating a list instance, and setting list attributes such as background color, layout type, sliding direction and the like;
step 6, registering all Cell (Cell) types defined in the step 1 to a list example;
step 7, realizing a data source proxy and an event callback proxy of the list example;
and 8, completing the creation of the list.
As can be seen from the list creation step: the definition of the list Cell (Cell) type needs to be prior to the creation of the list, that is, the list Cell (Cell) type is strongly related to the creation of the list, under the multi-service team collaborative development environment, the services of the list may be completed by a plurality of service teams together, the teams depend on each other due to the difference of team service schedules, which is not beneficial to the collaborative promotion of the services, and is also not beneficial to dynamically inserting a new Cell (Cell) style, so that the service requirement needing flexible configuration cannot be met; in addition, in a list with a slightly complex service, multiple list cells (cells) are often required to be defined, and the definition process of the list cells (cells) is complex, and when the types increase, repeated operations, such as creation of a list Cell (Cell) sub-view, layout of the sub-view, data processing, event processing and the like, are also increased, which greatly reduces the development efficiency.
After the list is created, the client generates the cell instance according to the definition data of the cell type solidified in the code, and renders and displays the cell instance, so that the display effect is single and the flexibility is poor.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a list display method, apparatus, device and storage medium, so as to improve flexibility of list configuration and implement diversity of list display.
In a first aspect, an embodiment of the present disclosure provides a list display method, including:
acquiring to-be-displayed data and cell types corresponding to-be-displayed cells of a list example to be displayed according to data source information in the list example to be displayed;
loading and analyzing at least one pre-generated cell description file adopting a structured language, wherein each cell description file stores metadata corresponding to at least one cell type, and the metadata comprises sub-view hierarchical structure information and attribute setting information;
and creating a cell example according to the metadata of the cell type corresponding to the cell to be displayed, and rendering and displaying the cell example according to the data to be displayed.
Optionally, after creating a cell instance according to the metadata of the cell type corresponding to the cell to be displayed, the method further includes:
and if the cell instance is released, recovering the cell instance, caching the cell instance and the cell type corresponding to the cell instance, so that when the cells of the same type are required to be displayed subsequently, the cached cell instance is read, and the read cell instance is rendered and displayed.
Optionally, rendering and displaying the cell instance according to the data to be displayed includes:
determining layout parameters of each sub-view in the cell example, wherein the layout parameters comprise a size parameter of the sub-view and a position parameter of the sub-view in the cell;
and rendering and displaying the cell examples according to the layout parameters and the data to be displayed, and caching the layout parameters so as to render the cell examples of the same type by using the cached layout parameters subsequently.
Optionally, after creating the cell instance, the method further comprises: adding a touch behavior processing function to the child view of the cell instance;
after rendering and displaying the cell instance according to the data to be displayed, the method further comprises:
and detecting touch operation aiming at the displayed sub-view through the touch behavior processing function, and calling an event processing object preset aiming at the list example by taking the information of the touch operation as an input parameter after the touch operation is detected so as to process the touch operation.
Optionally, before obtaining the to-be-displayed data and the cell type corresponding to the to-be-displayed cell of the list example according to the data source information in the to-be-displayed list example, the method further includes:
creating a list instance according to an input creating parameter, wherein the creating parameter comprises: the method comprises the steps that a list instance type and an event processing object need to be created, wherein the event processing object is used for processing touch operation aiming at each control in each cell in the list instance;
and calling a data source loading interface of the list example to load data source information.
Optionally, the list instance is created according to the input creation parameter by calling a list creation function in the list Factory.
Optionally, the structured language is JavaScript object notation JASON language or extensible markup language XML.
Optionally, loading and analyzing at least one pre-generated cell description file adopting a structured language through a cell description file Loader;
and creating a cell instance according to the metadata of the cell type corresponding to the cell to be displayed through a cell Generator.
In a second aspect, an embodiment of the present disclosure further provides a list display apparatus, including:
the data to be displayed acquisition module is used for acquiring data to be displayed and cell types corresponding to the cells to be displayed of the list example according to the data source information in the list example to be displayed;
the cell description file loading module is used for loading and analyzing at least one pre-generated cell description file adopting a structured language, wherein each cell description file stores metadata corresponding to at least one cell type, and the metadata comprises sub-view hierarchical structure information and attribute setting information;
and the cell example display module is used for creating a cell example according to the metadata of the cell type corresponding to the cell to be displayed, and rendering and displaying the cell example according to the data to be displayed.
Optionally, the apparatus further comprises:
and the cell instance caching module is used for recovering the cell instance and caching the cell instance and the cell type corresponding to the cell instance after the cell instance is created according to the metadata of the cell type corresponding to the cell to be displayed, so that the cached cell instance is read and the read cell instance is rendered and displayed when the same type of cell needs to be displayed subsequently.
Optionally, the cell description file loading module is specifically configured to:
determining layout parameters of each sub-view in the cell example, wherein the layout parameters comprise a size parameter of the sub-view and a position parameter of the sub-view in the cell; and rendering and displaying the cell examples according to the layout parameters and the data to be displayed, and caching the layout parameters so as to render the cell examples of the same type by using the cached layout parameters subsequently.
Optionally, the apparatus further comprises:
a touch behavior processing function adding module, configured to, after creating the cell instance, the method further includes: adding a touch behavior processing function to the child view of the cell instance;
correspondingly, the device also comprises:
and the event processing object calling module is used for detecting the touch operation aiming at the displayed sub-view through the touch behavior processing function after rendering and displaying the cell examples according to the data to be displayed, and calling an event processing object preset aiming at the list examples by taking the information of the touch operation as an input parameter after detecting the touch operation so as to process the touch operation.
Optionally, the apparatus further comprises:
the list instance creating module is used for creating a list instance according to input creating parameters before acquiring data to be displayed and cell types corresponding to cells to be displayed of the list instance according to data source information in the list instance to be displayed, and the creating parameters comprise: the method comprises the steps that a list instance type and an event processing object need to be created, wherein the event processing object is used for processing touch operation aiming at each control in each cell in the list instance;
and the data source information loading module is used for calling the data source loading interface of the list example to load the data source information.
Optionally, the list instance creating module is specifically configured to: and (4) creating a list instance according to the input creating parameters by calling a list creating function in the list Factory.
Optionally, the structured language is JavaScript object notation JASON language or extensible markup language XML.
Optionally, the cell description file loading module is specifically configured to load and analyze at least one pre-generated cell description file in a structured language through a cell description file Loader;
the cell example display module comprises a cell example creating module, and the cell example creating module is used for creating a cell example according to the metadata of the cell type corresponding to the cell to be displayed through the cell Generator.
In a third aspect, an embodiment of the present disclosure further provides a terminal device, where the terminal device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a list display method as provided by any embodiment of the present disclosure.
In a fourth aspect, embodiments of the present disclosure also provide a computer storage medium on which a computer program is stored, the program, when executed by a processor, implementing a list display method as provided in any of the embodiments of the present disclosure.
According to the embodiment of the disclosure, the cell type is defined by adopting a structured language in advance, rather than a native language, so that the cell type can be loaded and registered in a lagging manner, in the operation process, after the data to be displayed corresponding to the unit to be displayed in the list instance is acquired, the metadata of the cell type corresponding to the unit to be displayed can be acquired in a manner of loading and analyzing the cell description file, and the list can be dynamically and flexibly configured in a manner of adding a new cell type in the cell description file, so that the data can be displayed according to service requirements, the flexibility of list configuration is improved, and the diversity of list display is realized.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief description will be given below to the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a list display method provided in an embodiment of the present disclosure;
fig. 2 shows a flowchart of a list display method provided in the second embodiment of the present disclosure;
fig. 3 shows a flowchart of a list display method provided in the third embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a list display apparatus according to a fourth embodiment of the present disclosure;
fig. 5 shows a schematic diagram of a hardware structure of a terminal device according to a fifth embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be clearly and completely described below through embodiments with reference to the accompanying drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
Example one
Fig. 1 is a flowchart illustrating a list display method provided in an embodiment of the present disclosure, where the embodiment of the present disclosure is applicable to a case where a list is displayed in an application based on an iOS system, and the method may be performed by a list display apparatus, which may be implemented by software and/or hardware, and is integrated in a terminal with a display function, such as a smart phone, a tablet computer, and the like.
As shown in fig. 1, the list display method provided in the embodiment of the present disclosure specifically includes the following steps:
s110, obtaining to-be-displayed data and cell types corresponding to the to-be-displayed cells of the list example according to the data source information in the to-be-displayed list example.
Wherein, the list instance may refer to a list created and developed in advance. The data source information in the list instance may refer to information of a database or database server used by the list instance, and may include, but is not limited to, a data source name. The list example may include one or more cells to be displayed, and the number of the cells to be displayed may be predetermined according to the service requirement. The embodiment can set an identifier for each cell type to perform unique identification, so as to distinguish different cell types.
Specifically, the embodiment may connect with the list database corresponding to the list instance according to the data source information in the list instance, so that the to-be-displayed data and the corresponding cell type corresponding to each to-be-displayed cell in the to-be-displayed list instance may be obtained from the list database.
And S120, loading and analyzing at least one pre-generated cell description file adopting a structured language, wherein each cell description file stores metadata corresponding to at least one cell type, and the metadata comprises sub-view hierarchical structure information and attribute setting information.
The structured language may be, but is not limited to, JavaScript object notation json (JavaScript object notation) language or extensible Markup language xml (extensible Markup language). The metadata of all the cell types corresponding to the list can be stored in only one cell description file, and also can be stored in a plurality of cell description files in a scattered manner, so that different business teams can provide own cell description files under the cooperation condition of multiple business teams, and different businesses can be promoted in parallel. Each cell description file may store metadata corresponding to one or more cell types. The sub-view hierarchical structure information may refer to hierarchical relationship information between a plurality of sub-views included in a cell. The property setting information may include, but is not limited to, color, font size, and font style.
Specifically, in the present embodiment, a structured language may be used to describe metadata corresponding to each cell type in advance, and the described metadata corresponding to all the cell types are stored in one or more cell description files, so that the cell type definition and the list creation may be decoupled, so that the cell types may be loaded and registered late. According to the embodiment, after the data to be displayed and the cell types corresponding to the cells to be displayed of the list example are acquired, at least one cell description file is loaded and analyzed through the list example, and therefore metadata corresponding to each cell type can be dynamically acquired. For example, when the cell types are defined by using the structured language, a globally unique identifier may be allocated to each cell type, so as to query the metadata corresponding to the cell type from the cell description file.
It should be noted that, when the list display effect needs to be modified according to the service requirement, a structured language may be used to describe metadata corresponding to a new cell type, and the described metadata is added to the cell description file to update the cell description file, so that when the list is displayed, the metadata corresponding to the new cell type may be obtained by loading and parsing the updated cell description file, so that the list may be dynamically and flexibly configured in the operating phase of the list, and the flexibility of list configuration is improved.
S130, creating a cell instance according to the metadata of the cell type corresponding to the cell to be displayed, and rendering and displaying the cell instance according to the data to be displayed.
Specifically, the metadata of the cell type corresponding to the cell to be displayed can be obtained from the parsed cell description file through the unique identifier of the cell type corresponding to the cell to be displayed. And establishing a parent-child relationship among the cell views to be displayed according to the child view hierarchical structure information in the metadata so as to form a child view hierarchical tree of the cells to be displayed, and creating cell instances according to the analyzed attribute setting information and the child view hierarchical tree. After the cell instance corresponding to the cell to be displayed is created, the cell instance can be rendered according to the data to be displayed corresponding to the cell to be displayed, so that the rendered cell can be displayed in the display interface. Similarly, for each cell to be displayed in the list example, each cell to be displayed in the list example can be rendered and displayed by performing the operation of step S130, thereby realizing the display of the list.
According to the technical scheme of the embodiment of the disclosure, the cell type is defined by adopting a structured language in advance to form the cell description file, but a native language is not used, so that the cell type can be loaded and registered in a lagging way, in the running process, after the data to be displayed corresponding to the unit to be displayed in the list instance is obtained, the metadata of the cell type corresponding to the unit to be displayed can be obtained in a way of loading and analyzing the cell description file, and the list can be dynamically and flexibly configured in a way of adding a new cell type in the cell description file, so that the data can be displayed according to service requirements, the flexibility of list configuration is improved, and the diversity of list display is realized.
On the basis of the above technical solution, after creating a cell instance according to the metadata of the cell type corresponding to the cell to be displayed in S130, the method may further include:
and if the cell instance is released, recovering the cell instance, caching the cell instance and the cell type corresponding to the cell instance, so that the cached cell instance is read and the read cell instance is rendered and displayed when the same type of cell needs to be displayed subsequently.
Specifically, when the cell instances are released by the list after being used up, the cell instances can be recovered, and the cell instances and the cell types corresponding to the cell instances are cached, so that the cached cell instances can be directly read when the cells of the same type need to be displayed subsequently, and the cell instances of the cell types do not need to be created again, thereby reducing the creation time of the cells and improving the sliding performance of the list.
Exemplarily, before creating a cell instance according to metadata of a cell type corresponding to a cell to be displayed, whether an idle cell instance corresponding to the cell type of the cell to be displayed exists in a cache or not can be detected, and if the idle cell instance exists, the cell instance is directly read; if the cell type does not exist, obtaining the metadata of the cell type corresponding to the cell to be displayed from the analyzed cell description file, creating a cell instance according to the obtained metadata, and caching the created cell instance and the corresponding cell type to avoid repeatedly creating the cell instance subsequently. According to the embodiment, the multiplexing degree and the creating speed of the cell instances can be improved by setting the cache mechanism of the cell instances, so that the sliding performance of the list is improved.
On the basis of the above technical solution, the rendering and displaying the cell instance according to the data to be displayed in S130 may include: determining layout parameters of each sub-view in the cell example, wherein the layout parameters comprise a size parameter of the sub-view and a position parameter of the sub-view in the cell; and rendering and displaying the cell examples according to the layout parameters and the data to be displayed, and caching the layout parameters so as to render the cell examples of the same type by using the cached layout parameters subsequently.
Wherein, the size parameters of the sub-view may include, but are not limited to, the height and width of the sub-view. The position parameter of the sub-view in the cell may refer to display position information of the sub-view on the display interface. Specifically, according to the data source information in the list instance, in the list database corresponding to the list instance, the preset view size of each sub-view and the relative position relationship between the sub-view and the parent view are obtained, so that the size parameter displayed in the display interface of each sub-view can be calculated according to the view size of the sub-view and the interface size of the display interface, and the position parameter in the cell of each sub-view can be calculated according to the relative position relationship between the sub-view and the parent view. The embodiment can cache the layout parameters of each sub-view in the cell instance corresponding to the cell to be displayed, so that the cached layout parameters corresponding to the cell instance can be directly used when the cell instance corresponding to the same cell type needs to be displayed and rendered subsequently, and the repeated determination of the layout parameters corresponding to the cell instance is not needed, so that the sliding performance of the list can be further improved by caching the layout parameters corresponding to the cell instance.
On the basis of the above technical solution, after the cell instance is created in S130, the method further includes: adding a touch behavior processing function to the child view of the cell example; accordingly, after S130, the method may further include: and detecting touch operation aiming at the displayed sub-view through a touch behavior processing function, and calling an event processing object preset aiming at the list example by taking the information of the touch operation as an input parameter after the touch operation is detected so as to process the touch operation.
The touch behavior processing function may be predefined, and is used to detect whether there is a function of touch operation. The touch operation may be, but is not limited to, a touch behavior or a click behavior. The event processing object may be preset and used for performing logical processing on the touch operation of the control in the child view in the list instance.
Specifically, a developer can preset whether the sub-view in the cell instance accepts the touch operation of the user according to business requirements, and store the specified sub-view information which needs to receive the touch operation of the user into the cell description file. After the cell example is created, a touch behavior processing function can be added to each designated sub-view in the cell example according to the designated sub-view information which needs to receive the touch operation of the user in the cell description file, so that the touch operation of the designated sub-view in the cell example can be automatically started, and the operation is more convenient.
After the list is displayed, whether touch operation is carried out on the appointed sub-view or not can be detected through a touch behavior processing function, if the touch operation is detected, the detected touch operation can be transmitted to a business party through a unique event outlet by calling an event processing object, the business party carries out distribution processing on a corresponding event, and therefore the touch operation can be uniformly transmitted to the business party through the event processing object. Compared with the situation that the events of the cells in the conventional list of the iOS system all need to be distributed and processed by a developer when the cell types are defined, and the cell events are transmitted to the business side through the proxy mode, the processing mode of the embodiment does not need to repeatedly realize event callback proxy in different business use lists, so that the operation is more convenient and faster, and the development efficiency is favorably improved.
Example two
Fig. 2 shows a flowchart of a list display method provided in the second embodiment of the present disclosure, and this embodiment is optimized based on various alternatives in the above embodiments: before the data to be displayed and the cell types corresponding to the cells to be displayed of the list example are obtained, the steps of creating the list example according to the input creating parameters and calling the data source loading interface of the list example to load the data source information are added. Wherein explanations of the same or corresponding terms as those of the above-described embodiments are omitted.
As shown in fig. 2, the list display method provided in the embodiment of the present disclosure specifically includes the following steps:
s210, creating a list instance according to the input creating parameters, wherein the creating parameters comprise: the list instance type and the event processing object are required to be created, and the event processing object is used for processing touch operation aiming at each control in each cell in the list instance.
The list instance type may be an underlying list type pre-specified according to the service requirement. The event processing object may also be pre-specified according to business requirements, and is used to process the touch operation of each control in each cell in the list instance. The control in the cell refers to a component that can be touched, such as a thumbturn button.
Illustratively, the list instance is created from the input creation parameters by calling the list creation function in the list Factory.
The list creation function may be predefined in the list Factory and is used to create the list instance according to the input creation parameter. The list Factory is realized based on a built-in list of the iOS system, the bottom layer list supports a UITableView, UICollectionView or UIScrollView list of the iOS system, and a developer can create a list instance through a list creating function in the list Factory. Specifically, the input creation parameter can be used as a function input parameter to call a list creation function in the list Factory, so that a corresponding list instance can be created more conveniently.
It should be noted that the list Factory in this embodiment may implement the data source proxy and the event callback proxy of the list in a unified manner, so that the list can be run only by creating a list instance using the list creation function in the list Factory, thereby further reducing the workload of the developer and further improving the development efficiency. The list Factory in this embodiment can shield the difference between the conventional lists based on the iOS system, so that the developer cannot perceive the difference between the underlying lists when using the lists, and thus the list types can be flexibly switched, and the long-term iteration requirement of the service is met.
S220, loading data source information by calling a data source loading interface of the list example.
Specifically, in this embodiment, the data source information corresponding to the list instance may be loaded through the data source loading interface that calls the list instance, so that data may be injected at one time through an interface manner, and consistency between the front and back of the list data is maintained.
And S230, acquiring to-be-displayed data and cell types corresponding to the to-be-displayed cells of the list example according to the data source information in the to-be-displayed list example.
S240, loading and analyzing at least one pre-generated cell description file adopting a structured language, wherein each cell description file stores metadata corresponding to at least one cell type, and the metadata comprises sub-view hierarchical structure information and attribute setting information.
Illustratively, at least one pre-generated cell description file in a structured language may be loaded and parsed by a cell description file Loader. The cell description file Loader may be used to load and parse the cell description file and maintain metadata corresponding to the cell type.
And S250, creating a cell example according to the metadata of the cell type corresponding to the cell to be displayed, and rendering and displaying the cell example according to the data to be displayed.
Illustratively, a cell instance may be created by the cell Generator according to the metadata of the cell type to which the cell to be displayed corresponds. Wherein the cell Generator may serve the list factory for generating cell instances required by the list factory and for reclaiming and caching the generated cell instances.
According to the technical scheme of the embodiment of the disclosure, before the data to be displayed and the cell types corresponding to the cells to be displayed of the list example are obtained, the list example can be created according to the input creation parameters, the list can be run after the list example is created, and the data source agent and the event callback agent of the list do not need to be repeatedly realized, so that the development efficiency is improved. And the data source information of the list instance is loaded by using the data source loading interface, so that the consistency of the list data can be ensured.
EXAMPLE III
Fig. 3 shows a flowchart of a list display method provided in a third embodiment of the present disclosure, and this embodiment provides a preferred example based on various alternatives in the above embodiments. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted.
As shown in fig. 3, the list display method provided in the embodiment of the present disclosure specifically includes the following steps:
s310, calling a list creating function in the list Factory, and creating a list instance according to the input creating parameters.
The list Factory can unify the list to realize data source proxy and event callback proxy, so that a developer can use the list only by creating a list instance through the list Factory, the workload of the developer is further reduced, and the development efficiency is improved.
And S320, calling a Loader of the cell description file, and dynamically loading and analyzing at least one cell description file which is generated in advance and adopts a structured language.
Specifically, in the runtime phase, the cell description file Loader may be called, so that the cell description file Loader may dynamically load and parse at least one cell description file. When the cell types are defined by a structured language, a globally unique identifier can be pre-assigned to each cell type to facilitate the query.
Illustratively, after the Loader reads the cell description file, a parent-child relationship between single-case cell lattice views can be established, a child view hierarchical tree is formed, and the generated child view hierarchical tree is cached, so that the child view hierarchical tree can be directly used in the following process without repeated generation.
S330, returning the unique identifier corresponding to the analyzed cell type to the list instance in the list Factory, so that the list instance uses the unique identifier corresponding to the cell type to register the cell type.
Specifically, after the Loader has parsed the cell description file, the unique identifiers corresponding to all the parsed cell types are returned to the list instance in the list Factory, and the list instance can register the unique identifiers in the system list used in the bottom layer, so that the bottom layer list can obtain all the cell types provided by the developer.
And S340, calling a data source loading interface of the list instance in the list Factory to load data source information.
In particular, when a developer prepares a data source for a list, data source information may be loaded by calling a data source load interface of the list instance. It should be noted that the list Factory can mask differences between the underlying lists of the iOS system and can allow developers to flexibly switch the underlying list types by providing a consistent and uniform interface for the developers.
It should be noted that the execution sequence of step S340 is not limited in this embodiment, for example, step S340 may be executed after step S330, or before step S320.
And S350, calling a data acquisition function in the list Factory, and acquiring the data to be displayed corresponding to the cell to be displayed of the list example and the unique identifier of the corresponding cell type according to the data source information.
S360, taking the unique identifier of the cell type corresponding to the unit to be displayed as an input parameter, calling a cell Generator Generator, detecting whether a cell instance corresponding to the cell type exists in a cache, and if so, entering the step S370; if not, the process proceeds to step S380.
S370, returning the cell instance corresponding to the cell type in the cache to the list instance, and proceeding to step S391.
Specifically, when the corresponding cell instance exists in the Generator cache, the corresponding cell instance is immediately returned to the list instance, so that the creation time of the cell instance is shortened, and the sliding performance of the list is improved.
And S380, extracting corresponding metadata from the cache of the Loader of the cell description file according to the unique identifier corresponding to the cell type.
Specifically, when no corresponding cell instance exists in the Generator cache, metadata corresponding to the unique identifier corresponding to the cell type is extracted from the cache of the Loader.
S390, call a cell creation function in the cell Generator, create a cell instance according to the extracted metadata, and return the created cell instance to the list instance.
Specifically, a corresponding cell instance is created from the extracted metadata based on the Generator, and the created cell instance is returned to the list instance created in the list Factory. In this embodiment, when the cell instance used by the list instance is released, the cell instance may be recovered and cached by using the Generator, so that when the same type of cell needs to be displayed in the following, the cached cell instance may be directly read, and the sliding performance of the list is improved.
It should be noted that the cell types in the present embodiment are described using a structured description language, rather than a native language, so that the creation of the cell instances can be automatically completed by the cell Generator, thereby reducing the number of repeated redundant cell instance creation operations for the developer.
And S391, calling a rendering function in the list Factory, and rendering and displaying the cell examples according to the data to be displayed.
According to the technical scheme of the embodiment of the disclosure, the list cell type can be dynamically loaded by calling the list cell description file Loader and the list Factory, so that the decoupling of the list cell definition and the list instance creation is realized, a new cell type is dynamically added to the list, and the flexibility of list configuration and the diversity of list display are improved. And the list example can repeatedly utilize the cell example released by the list, so that the situation that the list is interactive and jammed can be avoided, and the sliding performance of the list is greatly improved.
The following is an embodiment of a list display apparatus provided in the embodiments of the present disclosure, which belongs to the same inventive concept as the list display method of the above embodiments, and details that are not described in detail in the embodiments of the list display apparatus may refer to the embodiments of the list display method.
Example four
Fig. 4 is a schematic structural diagram of a list display apparatus according to a fourth embodiment of the present disclosure, where the fourth embodiment of the present disclosure is applicable to a case where a list is displayed in an iOS system-based application. As shown in fig. 4, the list display apparatus in the embodiment of the present disclosure specifically includes: a data to be displayed acquisition module 410, a cell description file loading module 420 and a cell instance display module 430.
The to-be-displayed data acquiring module 410 is configured to acquire to-be-displayed data and cell types corresponding to the to-be-displayed cells of the list example according to the data source information in the list example to be displayed; a cell description file loading module 420, configured to load and parse at least one pre-generated cell description file in a structured language, where each cell description file stores metadata corresponding to at least one cell type, and the metadata includes sub-view hierarchical structure information and attribute setting information; and the cell example display module 430 is configured to create a cell example according to the metadata of the cell type corresponding to the cell to be displayed, and render and display the cell example according to the data to be displayed.
Optionally, the apparatus further comprises:
and the cell instance caching module is used for recovering the cell instance and caching the cell instance and the cell type corresponding to the cell instance if the cell instance is released after the cell instance is created according to the metadata of the cell type corresponding to the cell to be displayed, so that the cached cell instance is read and the read cell instance is rendered and displayed when the same type of cell needs to be displayed subsequently.
Optionally, the cell description file loading module 420 is specifically configured to:
determining layout parameters of each sub-view in the cell example, wherein the layout parameters comprise size parameters of the sub-views and position parameters of the sub-views in the cells; and rendering and displaying the cell examples according to the layout parameters and the data to be displayed, and caching the layout parameters so as to render the cell examples of the same type by using the cached layout parameters subsequently.
Optionally, the apparatus further comprises:
a touch behavior processing function adding module, configured to, after creating the cell instance, the method further includes: adding a touch behavior processing function to the child view of the cell example;
correspondingly, the device also comprises:
and the event processing object calling module is used for detecting the touch operation aiming at the displayed sub-view through the touch behavior processing function after rendering and displaying the cell examples according to the data to be displayed, and calling the event processing object preset aiming at the list examples by taking the information of the touch operation as an input parameter after detecting the touch operation so as to process the touch operation.
Optionally, the apparatus further comprises:
the list instance creating module is used for creating the list instance according to the input creating parameters before acquiring the data to be displayed and the cell type corresponding to the cell to be displayed of the list instance according to the data source information in the list instance to be displayed, and the creating parameters comprise: the method comprises the steps that list instance types and event processing objects need to be created, wherein the event processing objects are used for processing touch operation aiming at each control in each cell in the list instances;
and the data source information loading module is used for calling a data source loading interface of the list example to load the data source information.
Optionally, the list instance creating module is specifically configured to: and (4) creating a list instance according to the input creating parameters by calling a list creating function in the list Factory.
Optionally, the structured language is JavaScript object notation JASON language or extensible markup language XML.
Optionally, the cell description file loading module 420 is specifically configured to load and analyze at least one pre-generated cell description file in a structured language through a cell description file Loader;
the cell instance display module 430 includes a cell instance creation module configured to create, by the cell Generator, a cell instance according to the metadata of the cell type corresponding to the cell to be displayed.
The list display device provided by the embodiment of the disclosure can execute the list display method provided by any embodiment of the disclosure, and has functional modules and beneficial effects corresponding to the execution of the list display method.
EXAMPLE five
Fig. 5 shows a schematic diagram of a hardware structure of a terminal device according to a fifth embodiment of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, the terminal device 500 may include a processing means (e.g., a central processing unit, a graphic processor, etc.) 501 that can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the terminal apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the terminal device 500 to perform wireless or wired communication with other devices to exchange data. While fig. 5 illustrates a terminal apparatus 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.
The server provided by the embodiment of the present disclosure and the list display method provided by the above embodiment belong to the same inventive concept, and technical details that are not described in detail in the embodiment can be referred to the above embodiment, and the embodiment has the same beneficial effects as performing the list display method.
EXAMPLE six
The disclosed embodiments provide a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the list display method provided by any of the above embodiments.
It should be noted that the computer storage media described above in this disclosure can be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM) or FLASH Memory (FLASH), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer storage may be contained in the terminal device; or may exist separately without being assembled into the terminal device.
The computer stores one or more programs that, when executed by the terminal device, cause the terminal device to: acquiring to-be-displayed data and cell types corresponding to-be-displayed cells of the list example according to the data source information in the list example to be displayed; loading and analyzing at least one pre-generated cell description file adopting a structured language, wherein each cell description file stores metadata corresponding to at least one cell type, and the metadata comprises sub-view hierarchical structure information and attribute setting information; and creating a cell example according to the metadata of the cell type corresponding to the cell to be displayed, and rendering and displaying the cell example according to the data to be displayed.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the unit does not constitute a limitation on the unit itself in some cases, for example, the first module for acquiring data to be displayed may also be described as a "module for acquiring data to be displayed and a cell type corresponding to a cell to be displayed in a list example to be displayed according to data source information in the list example to be displayed".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (9)

1. A list display method, comprising:
creating a list instance according to the input creation parameters, wherein the creation parameters comprise: the method comprises the steps that a list instance type and an event processing object need to be created, wherein the event processing object is used for processing touch operation aiming at each control in each cell in the list instance;
calling a data source loading interface of the list example to load data source information;
acquiring to-be-displayed data and cell types corresponding to-be-displayed cells of a list example to be displayed according to data source information in the list example to be displayed;
loading and analyzing at least one pre-generated cell description file adopting a structured language, wherein each cell description file stores metadata corresponding to at least one cell type, and the metadata comprises a unique identifier corresponding to the cell type, sub-view hierarchical structure information and attribute setting information;
returning the analyzed unique identifier corresponding to the cell type to the list instance, so that the list instance uses the unique identifier corresponding to the cell type to register the cell type;
creating a cell example according to the metadata of the cell type corresponding to the cell to be displayed, and adding a touch behavior processing function to the child view of the cell example;
rendering and displaying the cell examples according to the data to be displayed;
and detecting touch operation aiming at the displayed sub-view through the touch behavior processing function, and calling an event processing object preset aiming at the list example by taking the information of the touch operation as an input parameter after the touch operation is detected so as to process the touch operation.
2. The method according to claim 1, wherein after creating a cell instance according to metadata of a cell type corresponding to the cell to be displayed, the method further comprises:
and if the cell instance is released, recovering the cell instance, caching the cell instance and the cell type corresponding to the cell instance, so that when the cells of the same type are required to be displayed subsequently, the cached cell instance is read, and the read cell instance is rendered and displayed.
3. The method of claim 1, wherein rendering and displaying the cell instance according to the data to be displayed comprises:
determining layout parameters of each sub-view in the cell example, wherein the layout parameters comprise a size parameter of the sub-view and a position parameter of the sub-view in the cell;
and rendering and displaying the cell examples according to the layout parameters and the data to be displayed, and caching the layout parameters so as to render the cell examples of the same type by using the cached layout parameters subsequently.
4. The method of claim 1, wherein the list instance is created from the input creation parameters by calling a list creation function in the list Factory.
5. The method according to any one of claims 1-4, wherein the structured language is JavaScript object markup JSON language or extensible markup language XML.
6. The method according to any one of claims 1 to 4, characterized in that, at least one pre-generated cell description file in a structured language is loaded and parsed by a cell description file Loader;
and creating a cell instance according to the metadata of the cell type corresponding to the cell to be displayed through a cell Generator.
7. A list display apparatus characterized by comprising:
a list instance creating module, configured to create a list instance according to an input creating parameter, where the creating parameter includes: the method comprises the steps that a list instance type and an event processing object need to be created, wherein the event processing object is used for processing touch operation aiming at each control in each cell in the list instance;
the data source information loading module is used for calling a data source loading interface of the list example to load data source information;
the data to be displayed acquisition module is used for acquiring data to be displayed and cell types corresponding to the cells to be displayed of the list example according to the data source information in the list example to be displayed;
the cell description file loading module is used for loading and analyzing at least one pre-generated cell description file adopting a structured language, wherein each cell description file stores metadata corresponding to at least one cell type, and the metadata comprises a unique identifier corresponding to the cell type, sub-view hierarchical structure information and attribute setting information;
the cell type registration module is used for returning the analyzed unique identifier corresponding to the cell type to the list instance so that the list instance uses the unique identifier corresponding to the cell type to register the cell type;
the cell example display module is used for creating a cell example according to the metadata of the cell type corresponding to the cell to be displayed, and rendering and displaying the cell example according to the data to be displayed;
a touch behavior processing function adding module, configured to, after creating the cell instance, the method further includes: adding a touch behavior processing function to the child view of the cell example;
and the event processing object calling module is used for detecting the touch operation aiming at the displayed sub-view through the touch behavior processing function after rendering and displaying the cell examples according to the data to be displayed, and calling the event processing object preset aiming at the list examples by taking the information of the touch operation as an input parameter after detecting the touch operation so as to process the touch operation.
8. A terminal device, characterized in that the terminal comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the list display method of any one of claims 1-6.
9. A computer storage medium on which a computer program is stored, which program, when being executed by a processor, carries out the list display method according to any one of claims 1 to 6.
CN201811533884.1A 2018-12-14 2018-12-14 List display method, device, equipment and storage medium Active CN109634490B (en)

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 CN109634490A (en) 2019-04-16
CN109634490B true 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)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634490B (en) * 2018-12-14 2020-05-12 北京字节跳动网络技术有限公司 List display method, device, equipment and storage medium
CN110442854B (en) * 2019-08-13 2023-04-07 北京源清慧虹信息科技有限公司 Report generation method and device, computer equipment and readable storage medium
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
CN111339463B (en) * 2020-02-19 2023-07-04 望海康信(北京)科技股份公司 Display method and device of list data and electronic equipment
CN113051012B (en) * 2021-03-18 2022-12-02 平安普惠企业管理有限公司 Data loading method, device, equipment and medium based on list view
CN114428656B (en) * 2021-12-17 2024-03-12 北京达佳互联信息技术有限公司 Popup window display method and device
CN115344167A (en) * 2022-08-24 2022-11-15 北京字跳网络技术有限公司 Method, apparatus, device and medium for managing view unit
CN115237413B (en) * 2022-09-22 2023-02-24 北京达佳互联信息技术有限公司 List processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339291A (en) * 2010-07-23 2012-02-01 阿里巴巴集团控股有限公司 Method and equipment for generating list
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
CN108563477A (en) * 2018-03-02 2018-09-21 北京奇艺世纪科技有限公司 A kind of page events response method and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8381113B2 (en) * 2007-04-06 2013-02-19 Microsoft Corporation Metadata-driven automatic UI code generation
CN102646038B (en) * 2012-02-28 2015-02-18 广州市动景计算机科技有限公司 Control content display method, control content display device and mobile terminal
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
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
CN109634490B (en) * 2018-12-14 2020-05-12 北京字节跳动网络技术有限公司 List display method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339291A (en) * 2010-07-23 2012-02-01 阿里巴巴集团控股有限公司 Method and equipment for generating list
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
CN108563477A (en) * 2018-03-02 2018-09-21 北京奇艺世纪科技有限公司 A kind of page events response method and device

Also Published As

Publication number Publication date
WO2020119800A1 (en) 2020-06-18
CN109634490A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN109634490B (en) List display method, device, equipment and storage medium
CN109634598B (en) Page display method, device, equipment and storage medium
US11119812B2 (en) Method and device for processing application program page according to a common interface container
CN110990105B (en) Interface display method and device, electronic equipment and storage medium
CN110020329B (en) Method, device and system for generating webpage
CN111026490B (en) Page rendering method and device, electronic equipment and storage medium
CN110070593B (en) Method, device, equipment and medium for displaying picture preview information
CN111581555B (en) Document loading method, device, equipment and storage medium
CN109558323B (en) System, method and apparatus for debugging pages
CN109445841B (en) Interface document management method, device, server and storage medium
CN111026491A (en) Interface display method and device, electronic equipment, server and storage medium
CN111324376B (en) Function configuration method, device, electronic equipment and computer readable medium
CN113778393A (en) Component generation method, device, computer system and computer-readable storage medium
CN115809056B (en) Component multiplexing implementation method and device, terminal equipment and readable storage medium
US11438403B2 (en) Page presentation method and system, computer system, and computer readable medium
CN110442419B (en) Interface layout method and device for Android application
CN109582580B (en) System, method and apparatus for debugging pages
CN113885996A (en) User interface generation method and device
CN116775174A (en) Processing method, device, equipment and medium based on user interface frame
CN113656041A (en) Data processing method, device, equipment and storage medium
CN110618772B (en) View adding method, device, equipment and storage medium
CN110865760A (en) Electronic equipment operation method and device, electronic equipment and storage medium
CN116360710B (en) Data storage method applied to server cluster, electronic device and readable medium
CN116069227A (en) Interface interaction method, device, equipment and storage medium
CN116414368A (en) Low-code application development method, device, storage medium, and program product

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