CN109828802A - List View display methods, device and readable medium - Google Patents

List View display methods, device and readable medium Download PDF

Info

Publication number
CN109828802A
CN109828802A CN201711179801.9A CN201711179801A CN109828802A CN 109828802 A CN109828802 A CN 109828802A CN 201711179801 A CN201711179801 A CN 201711179801A CN 109828802 A CN109828802 A CN 109828802A
Authority
CN
China
Prior art keywords
list
message
entry
object listing
list view
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
Application number
CN201711179801.9A
Other languages
Chinese (zh)
Other versions
CN109828802B (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.)
Tencent Technology Wuhan Co Ltd
Original Assignee
Tencent Technology Wuhan 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 Tencent Technology Wuhan Co Ltd filed Critical Tencent Technology Wuhan Co Ltd
Priority to CN201711179801.9A priority Critical patent/CN109828802B/en
Publication of CN109828802A publication Critical patent/CN109828802A/en
Application granted granted Critical
Publication of CN109828802B publication Critical patent/CN109828802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of List View display methods, device and readable mediums, are related to field of human-computer interaction.This method comprises: display user interface;Receive the slip signals on List View;The object listing message needed to move into List View is determined in node tree according to slip signals;When there are reusable object listing entry, object listing message is moved into List View and is shown by multiplexing object listing entry.It is inquired by the list of entries for being created to history and have been moved out List View, when there are reusable object listing entry, being multiplexed the object listing entry will show in object listing message immigration List View, without list of entries additional for the object listing message establishing again, reduce the quantity of list of entries and occupied memory in memory, Caton situation when sliding list view is reduced or avoided in the sliding efficiency for improving List View.

Description

List View display methods, device and readable medium
Technical field
The invention relates to field of human-computer interaction, in particular to a kind of List View display methods, device and readable Medium.
Background technique
RN (React Native) is a kind of open source mobile application development platform.In the mobile application developed based on RN In program, List View (ListView) is a kind of most common view type.
List View includes the multiple list of entries (ListItem) arranged from top to bottom, and each list of entries has identical Width.User can slide up and down on List View.When user's upward sliding, terminal will be located at uppermost n A list of entries removes List View, will be located at nethermost still not shown n list of entries and move into List View.For inciting somebody to action The n list of entries to be moved into, terminal need to create the n list of entries in memory.
With continuing for slide, terminal needs the list of entries created also can be more and more, these list of entries institutes The memory headroom of occupancy is also more and more, will lead to RAM leakage when serious.Therefore, List View display side in the related technology The sliding efficiency of method is lower, and easily leads to user interface and generate Caton.
Summary of the invention
The embodiment of the present application provides a kind of List View display methods, device and readable medium, can solve list view The sliding efficiency of figure display methods is lower, and easily leads to user interface and lead to the problem of Caton.The technical solution is as follows:
In a first aspect, providing a kind of List View display methods, which comprises
Show user interface, the user interface includes n list of entries in the List View, each list For entry for showing corresponding list message, n is positive integer;
Receive the slip signals on the List View;
The object listing message needed to move into the List View, institute are determined in node tree according to the slip signals Stating in node tree includes list node corresponding with the List View, needs to show on each list node and the List View The list message shown is corresponding;
When there are reusable object listing entry, it is multiplexed the object listing entry and moves the object listing message Enter and shown in the List View, the object listing entry is history creation and the list for having been moved out the List View Entry.
Second aspect, provides a kind of List View display device, and described device includes:
Display module, for showing that user interface, the user interface include n list item in the List View Mesh, for each list of entries for showing corresponding list message, n is positive integer;
Receiving module, for receiving the slip signals on the List View;
Determining module, for determining the mesh needed to move into the List View in node tree according to the slip signals List message is marked, includes list node corresponding with the List View, each list node and the column in the node tree Need a list message to be shown corresponding on table view;
Multiplexing module, will be described for when there are reusable object listing entry, being multiplexed the object listing entry Object listing message is moved into the List View and is shown, the object listing entry is history creation and has been moved out described The list of entries of List View.
The third aspect provides a kind of terminal, and the terminal includes processor and memory, is stored in the memory At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute State code set or instruction set loaded by the processor and executed with realize as above-mentioned the embodiment of the present application first aspect and its Any List View display methods of optional embodiment.
Fourth aspect provides a kind of computer readable storage medium, at least one finger is stored in the storage medium Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or Instruction set is loaded by the processor and is executed to realize first aspect and its optional implementation such as above-mentioned the embodiment of the present application Any List View display methods of example.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
By storing not shown list message in List View using node tree, need when according to slip signals by target When being shown in list message immigration List View, in the list of entries that history creates and has been moved out List View, determine Reusable object listing entry out, being multiplexed the object listing entry will show in object listing message immigration List View Show, without again to will move into the additional list of entries of the object listing message establishing of List View, reducing in memory and arranging The quantity of table clause and occupied memory improve the sliding efficiency of List View, sliding list view are reduced or avoided When Caton situation.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the block diagram for the implementation environment that one exemplary embodiment of the application provides;
Fig. 2 is the user interface schematic diagram that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart for the List View display methods that one exemplary embodiment of the application provides;
Fig. 4 A is the flow chart for the List View display methods that another exemplary embodiment of the application provides;
Fig. 4 B is the structural schematic diagram for the node tree that one exemplary embodiment of the application provides;
Fig. 5 is the flow chart for the List View display methods that another exemplary embodiment of the application provides;
Fig. 6 is the flow chart for the List View display methods that another exemplary embodiment of the application provides;
Fig. 7 is the structural block diagram for the entry structure information that one exemplary embodiment of the application provides;
Fig. 8 is the flow chart for the List View display methods that another exemplary embodiment of the application provides;
Fig. 9 is the flow chart for the List View display methods that another exemplary embodiment of the application provides;
Figure 10 is the schematic diagram for the user interface that another exemplary embodiment of the application provides;
Figure 11 is the structural schematic diagram for the node tree that another embodiment of the application provides;
Figure 12 is the structural block diagram for the List View display device that one exemplary embodiment of the application provides;
Figure 13 is the structural block diagram for the terminal that one exemplary embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Firstly, to the invention relates to several nouns be introduced.
List View: List View is shown in the common view type of one of user interface, wraps in List View The multiple list of entries arranged from top to bottom are included, user can slide up and down on the List View, when user slides up When dynamic, terminal will be located at uppermost n list of entries and successively remove List View, will be located at nethermost still not shown n A list of entries successively moves into List View.
List of entries: list of entries is for showing the carrier of list message in List View, i.e., list of entries is to column Table message provide display frame, list message give list of entries provide display content, optionally, in the list of entries include to A few control.
List message: list message refers to the display in the List View for needing to be shown in user interface that server is sent Content a, in general, list message needs to be shown by a list of entries.
Fig. 1 is the block diagram for the implementation environment that one exemplary embodiment of the application provides.The implementation environment includes: server 120 and terminal 140.
Server 120 is to provide the server of network service support for terminal 140.Optionally, after including in server 120 Platform program and Front End.Background program can be used for carrying out the processing such as related database, authentication, and Front End can be used In the processing such as the display support of UI (User Interface, user interface), human-computer interaction.Optionally, Front End can be used React Native framework is developed to obtain.
Server 120 is connected by cable network or wireless network with terminal 140.Server 120 can be disappeared with transmission list It ceases to terminal 140, so that terminal 140 shows List View in the user interface of application program.
Operation has application program in terminal 140, shows List View in the user interface of the application program.This applies journey Sequence can be browser, be also possible to news application program, chat application, microblogging application program, shopping application program etc. Deng the application is not limited this.
Several news letters can be shown using List View by taking application program is browser as an example, on the homepage of browser Breath, each list of entries is for showing news item information.The list message sent to terminal 140 according to server 120 is not Together, the news information of each list of entries shown on the homepage of browser is also different.
Schematically, as shown in Fig. 2, including List View 22 in user interface 21, include in the List View 22 Four list of entries arranged from top to bottom, respectively list of entries 23, list of entries 24, list of entries 25 and list of entries 26, wherein show list message A in list of entries 23, show list message B in list of entries 24, in list of entries 25 It shows and shows list message D in list message C and list of entries 26, further include having control 27 in list of entries 26.It can Selection of land, each list message in above-mentioned list message A, list message B, list message C and list message D can be at least The form of one control is shown in a list of entries, which includes but is not limited to: text box, button, under Pull-type menu, grid control, image procossing control, document process control etc..
In the related technology, the list message that Front End is sent to terminal needs terminal to execute the list message at once, will The corresponding list of entries of the list message is displayed in the user interface.Wherein, terminal includes: column to the implementation procedure of list message The creation of table clause, the refreshing of the attribute information of list of entries, typesetting of each control etc. in list of entries.Schematically, such as Shown in Fig. 3, after list message is sent to terminal by Front End, terminal directly successively carries out list to the list message received The creation of entry, the refreshing of the attribute information of list of entries, the operation such as typesetting of each control in list of entries, by the list Message is shown in List View by list of entries.
But the list message that Front End is sent to terminal may have many items, such as up to a hundred or thousands of, If terminal is that each list message creates corresponding list of entries, these list of entries understand many interior of occupied terminal It deposits, even results in RAM leakage.From external manifestation, application program will appear Caton to the response of slide, or even go out The sudden strain of a muscle of existing application program is moved back.
In technical solution provided by the present application, it is desirable to be created by multiplexing history and have been moved out the list item of List View Mesh, to be shown to the new object listing message for moving into List View.For this purpose, in terminal in technical solution provided by the present application Application program in increase be provided with node tree, as shown in Figure 4 A, Front End by the relevant message of user interface (including column Table message) be sent to terminal after, the creation of application program in terminal or node tree is updated, using node tree caching and user The relevant message in interface.The corresponding message relevant to user interface of each node on the node tree.Schematically, work as front end When program uses ReactNative framework, application program can be by intercepting UIViewOperationQueue queue for front end The message at the relevant user interface that program is sent is intercepted.
Optionally, after creating node tree, if application program receive again Front End transmission with user circle The relevant message in face, then application program can also be updated the node tree.If having received user on a user interface Slip signals, terminal is determined according to node tree needs to move into the object listing message of List View, and to object listing message according to The secondary creation for carrying out list of entries or multiplexing, the refreshing of the attribute information of list of entries, in list of entries each control typesetting Deng operation, and the list message is displayed in the user interface by list of entries.
First the node in node tree provided by the present application and node tree is introduced below:
Node tree: node tree is used to indicate the DOM (Document of the user interface according to the interface element in user interface Object Model, DOM Document Object Model) structure.It optionally, include root node and the son of the root node in the node tree Node, root node are used to indicate the bottom architecture of the user interface, include the corresponding son of List View in the child node of root node Node.
List node: list node is node corresponding with list of entries each in List View in node tree.List section Point is the child node of node where List View, and each list node is corresponding with a list message, optionally, in the node tree List node on store is virtual list entry corresponding with list message.
Virtual list entry: the virtual list entry is the entry knot corresponding with list message being stored on list node Structure information.Terminal will not be the actual view of virtual list entry creation, therefore the size of memory shared by the virtual list entry Much smaller than the size of memory shared by actual list of entries.
Schematically, Fig. 4 B is the structural schematic diagram for the node tree that an exemplary embodiment provides, as shown in Figure 4 B, It is stored with Root View in the root node position of the node tree, Root View includes four child nodes, is deposited respectively in four child nodes Contain List View, other views 1, other views 2 and other views 3, wherein other views 1, other views 2 and its Its view 3 can be respectively rolls view, tree view or HTML (HyperText Markup Language, hypertext mark Remember language) any one in view.List View further includes five child nodes as father node, which is all column Table node is stored with virtual list entry 1, virtual list entry 2, virtual list entry 3, empty on five list nodes respectively Intend list of entries 4 and virtual list entry 5, the corresponding column of each virtual list entry in above-mentioned 5 virtual list entries Table message, schematically, in conjunction with Fig. 2,1 corresponding lists message A of virtual list entry, 2 corresponding lists message of virtual list entry B, 3 corresponding lists message C of virtual list entry, 4 corresponding lists message D of virtual list entry, the correspondence of virtual list entry 5 are not shown Show the list message E in List View.
Fig. 5 is the flow chart for the List View display methods that one exemplary embodiment of the application provides.The present embodiment With List View display methods application in the terminal for example, the terminal can be smart phone, tablet computer or desk-top Computer.As shown in figure 5, the List View display methods includes:
Step 501, terminal shows user interface.
The user interface includes: n list of entries in List View, and each list of entries is used to show corresponding list Message, n are positive integer.It optionally, can also include other views of non-list view in the user interface, the present embodiment is to this It is not limited.
Schematically, for including 4 list of entries in the List View, referring to FIG. 2, being wrapped in the user interface 21 Include four list of entries, respectively list of entries 23, list of entries 24, list of entries 25 and list of entries 26, wherein list List message A is shown in entry 23, and list message B is shown in list of entries 24, list is shown in list of entries 25 and disappears List message D is shown in breath C and list of entries 26.
Step 502, terminal receives the slip signals on List View.
Optionally, which is along the bottom of List View to the slip signals of top slide, abbreviation upward sliding Signal;The slip signals are also possible to the slip signals along the top of List View to basal sliding, abbreviation slide downward signal.
Step 503, terminal determines that the object listing for needing to move into List View disappears according to slip signals in node tree Breath.
Optionally, which is to be determined according to slip signals, wait move into the column being shown in List View Table message.Include multiple list nodes corresponding with List View in the node tree, is needed on each list node and List View A list message to be shown is corresponding.
Optionally, next list message to be shown is determined according to slip signals and node tree.Schematically, with this It include the node for the list message and at least one not shown list message that at least one has been displayed in List View All list messages in tree are traversed, and after to the list message having been displayed traversal, determine traversal obtains first A not shown list message, and determine it as object listing message.
Step 504, when there are reusable object listing entry, multiplexing object listing entry moves object listing message Enter in List View and is shown.
The object listing entry is history creation and the list of entries for having been moved out List View.
Terminal detects whether that there are reusable target columns in the list of entries that history creates and has been moved out List View Table clause.When there are reusable object listing entry, object listing message is moved into list view by multiplexing object listing entry It is shown in figure;When not including reusable list of entries, terminal creates the corresponding list of entries of object listing message, And object listing message is moved into List View and is shown by the list of entries obtained by creation.
In conclusion List View display methods provided in this embodiment, by the way that list view is created and had been moved out to history The list of entries of figure is inquired, and when there are reusable object listing entry, is multiplexed the object listing entry for target column Table message is moved into List View and is shown, it is additional to will move into the object listing message establishing of List View without again List of entries, reduce the quantity of list of entries and occupied memory in memory, improve List View sliding effect Caton situation when sliding list view is reduced or avoided in rate.
Fig. 6 is the flow chart for the List View display methods that another exemplary embodiment of the application provides.Such as Fig. 6 institute Show, the present embodiment is illustrated in the terminal with List View display methods application.The List View display methods packet It includes:
Step 601, terminal shows user interface.
The user interface includes n list of entries in List View, and each list of entries is used to show corresponding list Message, n are positive integer.It optionally, can also include other views of non-list view in the user interface, the present embodiment is to this It is not limited.
Schematically, for including 4 list of entries in the List View, referring to FIG. 2, being wrapped in the user interface 21 Include four list of entries, respectively list of entries 23, list of entries 24, list of entries 25 and list of entries 26, wherein list List message A is shown in entry 23, and list message B is shown in list of entries 24, list is shown in list of entries 25 and disappears List message D is shown in breath C and list of entries 26.Each list of entries may include one or more controls, and this Or multiple controls can be text box, button, pull-down menu, grid control, image procossing control, document process control etc..
Step 602, terminal receives the slip signals on List View.
Optionally, the slip signals be along List View bottom to the slip signals of List View top slide, referred to as to Upper slip signals;The slip signals are also possible to the slip signals at the top of List View to List View basal sliding, referred to as Slide downward signal.
Step 603, terminal determines that the object listing for needing to move into List View disappears according to slip signals in node tree Breath.
Optionally, terminal is determined according to slip signals needs to remove list of entries in List View, and by these lists Entry is buffered in cache pool.
Optionally, terminal determines next object listing message to be shown also according to slip signals and node tree, Schematically, to include that at least one list message for having been displayed and at least one not shown list disappear in the List View For breath, terminal can be traversed all list messages in the node tree, when to the list message traversal knot having been displayed Shu Hou determines first not shown list message that traversal obtains, and determines it as object listing message.
Step 604, terminal determines the corresponding entry type of object listing message.
Optionally, which is the type for being in advance object listing message arrangement.Each list message is one corresponding Entry type.
Optionally, terminal determines that object listing message is corresponding according to the information cached in the list node in node tree Entry type.
Step 605, in the list of entries that history creates and has been moved out List View, terminal will have the entry type List of entries is determined as reusable object listing entry.
Optionally, include cache pool in terminal, history creation is stored in the cache pool and has been moved out List View List of entries, terminal can search whether there is list item identical with the entry type of the object listing message in the cache pool Mesh, and the list of entries is determined as reusable object listing entry.
Optionally, there are a kind of situations, when there are the lists that more than one has above-mentioned entry type in the terminal When entry, terminal determines that the mode of object listing entry includes but is not limited to:
One, first list of entries with above-mentioned entry type that will acquire is as object listing entry;
Two, all list of entries with above-mentioned entry type are obtained, determine a list of entries as target column at random Table clause;
Three, all list of entries with above-mentioned entry type are obtained, will wherein entry structure information be disappeared with object listing The corresponding most similar list of entries of entry structure information is ceased as object listing entry.Wherein, which is used for The structural information for indicating list of entries includes but is not limited in the entry structure information: the control that needs to create in list of entries, List message to be shown, the attribute information for needing to be arranged in list of entries are needed in list of entries, need to be arranged in list of entries Composition information and list of entries at least one of the additional information (Extra) that needs to be arranged.
Step 606, terminal determines the corresponding second identifier of object listing message.
Optionally, due to the list of entries that object listing entry is history creation and is shown, object listing entry is It is included first identifier, the first identifier is the last to be shown in List View using the object listing entry The corresponding unique identification of list message X.Terminal can be obtained according to the first identifier to server when list message X is clicked Take the corresponding details of list message X.
Optionally, object listing message is corresponding with a second identifier, which is used for the unique identification target column Table message.Terminal can obtain object listing message to server according to the second identifier when object listing message is clicked Corresponding details.
Step 607, the first identifier in object listing entry is replaced with second identifier by terminal.
When being multiplexed object listing entry, terminal needs the first identifier in object listing entry replacing with the target column Table message corresponding second identifier is able to carry out correct response when being clicked so as to multiplexed object listing entry.For example, When multiplexed object listing entry is clicked, user interface corresponding with object listing message can be correctly jumped to.
Step 608, terminal determines the corresponding first entry structural information of object listing entry.
Optionally, which includes: the control created in the object listing entry, the column having been displayed At least one of table message, the attribute information being arranged, the composition information being arranged and the additional information being arranged.
Step 609, terminal determines the corresponding second entry structural information of object listing message.
Optionally, which includes: the control created required for displaying target list message, display mesh Mark the composition information and displaying target being arranged required for the attribute information being arranged required for list message, displaying target list message At least one of the additional information being arranged required for list message.The second entry structural information can be buffered in node tree In list node corresponding with object listing message.
Step 610, when first entry structural information and second entry structural information have differences, terminal will according to difference First entry structural information in object listing entry is revised as second entry structural information.
Schematically, referring to FIG. 7, with first entry structural information and second entry structural information on the control of creation It is illustrated for having differences, as shown in fig. 7, including following content: object listing entry 71 in first entry structural information In include three controls, respectively text box 711, text box 712 and button 713, the corresponding part in node tree is Node structure 72, in the node structure, the node where text box 711, text box 712 and button 713 is object listing The child node of node where entry;It include following content: list corresponding to object listing message in second entry structural information It include three controls, respectively text box 731, text box 732 and picture 733 in entry 73, it is corresponding in node tree Part is node structure 74, and in the node structure, the node where text box 731, text box 732 and picture 733 is mesh The child node of node, node structure 72 and node structure 74 are compared, obtained where marking the corresponding list of entries of list message At least there is control difference to the first entry structural information and second entry structural information, which is object listing item The difference between picture 733 in button 713 in mesh 71 and the corresponding list of entries 73 of object listing message, so by mesh Button 713 in mark list of entries 71 is revised as picture 733.
It is worth noting that, terminal can carry out increment type modification according to difference section during above-mentioned modification, that is, press Button 713 is modified, and text box 711, text box 712 and button 713 can also be replaced all with text according to the modification of full dose formula This frame 731, text box 732 and text box 733, the embodiment of the present application is not limited this.
Step 611, object listing message is moved into List View and is carried out by the modified object listing entry of terminal multiplexing Display.
Schematically, in a specific embodiment, as shown in figure 8, tree Figure 81 is list view in node tree The corresponding part of figure, the List View shown according to tree Figure 81 is as shown in List View 82, wherein list message A to list message C is the list message for having been displayed and having been moved out List View, and list message D to list message G is just in list The list message shown in view, list message H are the list message that List View to be moved into is shown, are each had been displayed List message corresponds to a list of entries, such as: list message A corresponding lists entry A, list message B corresponding lists entry B, column Table message C corresponding lists entry C;Wherein, the list of entries for having been moved out List View is stored in cache pool 83, schematically , it include list of entries A, list of entries B and list of entries C in the cache pool;According to slip signals, terminal determines list item Mesh H is the list message that List View to be moved into is shown, i.e. object listing message, and according to the object listing message slow It deposits and searches reusable list of entries in pond 83, and search and obtain list of entries B as reusable list of entries, be multiplexed the list List message H is moved into List View and is shown by entry B.
In conclusion by storing not shown list message in List View using node tree, when according to slip signals When needing being shown in object listing message immigration List View, is created in history and have been moved out the list item of List View In mesh, reusable object listing entry is determined, be multiplexed the object listing entry for object listing message and move into List View In shown, without being again the additional list of entries of object listing message establishing that will move into List View, reduce The quantity of list of entries and occupied memory in memory, improve the sliding efficiency of List View, sliding are reduced or avoided Caton situation when List View;
Since two problems may be faced: 1, multiplexed object listing entry quilt when being multiplexed object listing entry When click, corresponding first interface of object listing message is not jumped to, but may errored response display to before being multiplexed The corresponding second contact surface of list message X;2, the entry structure of the entry structure of object listing entry and object listing message exists Difference can not be directly multiplexed.
In order to solve the problems, such as the first problem in above-mentioned two faced, in the embodiment of the present application, terminal is by target column First identifier in table clause replaces with second identifier, when ensuring that multiplexed object listing entry is clicked, is able to carry out Correct response, such as: when multiplexed object listing entry is clicked, can correctly jump to corresponding with object listing message User interface;
In order to solve the problems, such as the Second Problem in above-mentioned two faced, in the embodiment of the present application, when first entry knot When structure information and second entry structural information have differences, terminal is according to difference by the first entry structure in object listing entry Information is revised as second entry structural information, to ensure the entry structure of object listing entry and the entry knot of object listing message Structure is consistent.
In above-described embodiment, the display methods of List View is described in detail.Hereinafter, mainly to the node The creation of tree and the process of update are further described.
Fig. 9 is the creation for the node tree that another exemplary embodiment of the application provides and the process of update method Figure.This method can be bound in above method embodiment.As shown in figure 9, this method comprises:
Step 901, the message of the corresponding first batch of user interface is obtained.
Front End can divide multiple batches to send relevant user interface to terminal according to load progress or display progress Message.
Front End sends the message of the corresponding first batch of user interface to terminal first.Optionally, the first batch Message include each message for showing user interface for the first time.For example, the message of background view, preceding n list of entries pair The list message answered.
Step 902, according to the corresponding node tree of message establishing user interface of first batch.
It include several nodes in the node tree, each node corresponds to an interface element in user interface.Work as user Include List View on interface, then there can be at least one list node corresponding with list message on the node tree.
Schematically, the dendrogram of a schematical node tree in conjunction with shown in Fig. 4 B, if including in the node tree Dry node, wherein five child nodes of List View, list node as corresponding with list message, five list sections Point is used for the corresponding virtual list entry of cache list message, that is, has cached the corresponding virtual list entry 1 of list message A, arranges The corresponding virtual list entry 2 of table message B, the corresponding virtual list entry 3 of list message C, the corresponding dummy column of list message D Table clause 4, the corresponding virtual list entry 5 of list message E.
Step 903, user interface is shown according to node tree.
Optionally, Front End also sends batch processing signal to terminal after the message for sending first batch.The batch processing Signal, which is used to indicate terminal, to carry out upper screen for the message of first batch and shows.Schematically, which is OnBatchComplete signal.
Optionally, it after terminal creates node tree and receives batch processing signal, is used according to the node tree display created Family interface.
Schematically, in conjunction with Fig. 2 and Fig. 4 B, the node tree of terminal creation is as shown in Figure 4 B, includes list in the node tree View, node where List View includes five child nodes, since the displayable content of user interface is restricted, therefore according to When the size at family interface and the size of List View determine display user interface, the number for the list message that can be shown simultaneously, The number of i.e. displayable list of entries.For it can show 4 list messages in the List View, with reference to Fig. 2, according to the section The user interface of point tree display is as shown in the user interface 21 of Fig. 2, and terminal is by the node tree, by preceding 4 sons of List View The corresponding list message of node is shown in List View, i.e. list message A, list message B, list message C and list disappear Cease D.Optionally, before showing above-mentioned list message A to list message D, terminal needs for list message A to list message D creates corresponding list of entries.That is, creating list of entries 23 for list message A, list of entries 24 is created for list message B, List of entries 25 is created for list message C, creates list of entries 26 for list message D.
It is worth noting that, the display mode in the example above only using List View is illustrated as example, in practical behaviour It further include other views in the node tree in work, such as: view, tree view, HTML view are rolled, where other views Node also may include at least one child node, when showing user interface, need complete node tree mapping to user circle In face.
Step 904, the slip signals on List View are received.
Optionally, the slip signals be along List View bottom to the slip signals of List View top slide, referred to as to Upper slip signals;The slip signals are also possible to the slip signals at the top of List View to List View basal sliding, referred to as Slide downward signal.
Step 905, when the message of the (i-1)-th batch, which is not shown, to be finished, needs are determined in node tree according to slip signals Move into the object listing message in List View.
I is the integer greater than 1, initial value 2.
Optionally, which is to be disappeared according to what slip signals determined wait move into the list shown in List View Breath.Terminal can traverse all list messages in the node tree, after to the list message having been displayed traversal, It determines first not shown list message that traversal obtains, and determines it as object listing message.
Schematically, incorporated by reference to Fig. 4 B, for being traversed to the node tree, after terminal receives slip signals, Node tree shown in Fig. 4 B is traversed, and judges list message A, list message B, list message C and list message D all For it has been shown that list message E is not show, therefore list message E is determined as object listing message.
Step 906, when there are reusable object listing entry, multiplexing object listing entry moves object listing message Enter in List View and is shown.
The object listing entry is history creation and the list of entries for having been moved out List View.Optionally, include in terminal There is cache pool, history creation is stored in the cache pool and has been moved out the list of entries of List View, terminal can be in the cache pool In search whether that there are the reusable object listing entries of the object listing message.
Step 907, when the message of the (i-1)-th batch, which is shown, to be finished, message is generated according to slip signals and obtains signal.
Optionally, it is raw according to slip signals after the list message of the (i-1)-th batch was all shown in the user interface Signal is obtained at message.
Schematically, referring to FIG. 10, including List View 1002 in user interface 1001, wherein list message E is The last item list message in the node tree in the message of the (i-1)-th batch, after showing list message E, on List View Slip signals are continued to, and generates message according to the slip signals and obtains signal, it is aobvious in the bottom of List View 1002 It is shown with " loading more for you ... ".It is worth noting that, above-mentioned message obtains the message that signal is used to obtain the i-th batch, It include at least one list message in the message of i-th batch.
Step 908, the message of corresponding i-th batch of signal acquisition user interface is obtained according to message.
Wherein, i is the integer greater than 1.Optionally, terminal obtains signal according to the message, and forward end program obtains i-th batch Secondary message.
Step 909, according to the information updating node tree of the i-th batch.
Optionally, the message of the i-th batch includes several list messages not yet shown.Terminal is receiving the i-th batch Message after, the node tree in user interface is updated according to the message of the i-th batch.
The corresponding node tree of more new user interface refers to: on the basis of original node tree, increasing disappearing for i-th batch The corresponding node of breath, and/or, refresh existing list node.
Schematically, to be illustrated for increasing the child node of List View according to the message of the i-th batch, figure is please referred to 11.In the message of first batch include list message A, list message B, list message C, list message D and list message E, It include list message F, list message G and list message H in the message of the second lot got, therefore in the son of List View Increase corresponding with above-mentioned list message F, list message G and list message H child node in node, optionally, terminal can be with According to the sequence of traversal, above-mentioned list message F, list message G and list message H are successively increased.Column after increase Table message A to list message H is in the same level of the node tree, i.e., in the level where the child node of List View.
Optionally, the object listing message needed to move into List View is determined in the node tree of terminal in the updated.
It is worth noting that, obtaining signal in above-described embodiment according to message with front end and sending disappearing for the i-th batch to terminal It is illustrated for breath, in an alternative embodiment, front end is not necessarily to obtain signal according to message to terminal the i-th batch of transmission Message, developer can be configured the message number in a batch, such as: each batch sends 20 message, when After 20 message of the (i-1)-th batch are sent, front end directly sends 20 message of the i-th batch to terminal.In the example above It is illustrated for including 20 message in a batch, in actual operation, the quantity of the message can be by developer certainly Row is configured, and the message number of different batches can be different.
In conclusion by storing not shown list message in List View using node tree, when according to slip signals When needing being shown in object listing message immigration List View, is created in history and have been moved out the list item of List View In mesh, reusable object listing entry is determined, be multiplexed the object listing entry for object listing message and move into List View In shown, without being again the additional list of entries of object listing message establishing that will move into List View, reduce The quantity of list of entries and occupied memory in memory, improve the sliding efficiency of List View, sliding are reduced or avoided Caton situation when List View;
Since what is stored in node tree is the corresponding virtual list entry of list message, terminal will not be the virtual list Entry creates actual view, therefore the size of memory shared by the virtual list entry is much smaller than memory shared by actual list of entries Size, reduce the occupied memory of the node tree of creation.
Figure 12 is the structural block diagram for the List View display device that one exemplary embodiment of the application provides, such as Figure 12 It is shown, it include: display module 1201, receiving module 1202, determining module 1203 and multiplexing in the List View display device Module 1204.
Display module 1201, for showing that user interface, the user interface include n list in the List View Entry, for each list of entries for showing corresponding list message, n is positive integer;
Receiving module 1202, for receiving the slip signals on the List View;
Determining module 1203, for determination to need to move into the List View in node tree according to the slip signals Object listing message, include list node corresponding with the List View, each list node and institute in the node tree Stating needs a list message to be shown corresponding on List View;
Multiplexing module 1204, will for when there are reusable object listing entry, being multiplexed the object listing entry The object listing message is moved into the List View and is shown, the object listing entry is history creation and has been moved out The list of entries of the List View.
In an alternative embodiment, determining module 1203 are also used to determine the corresponding item of the object listing message Mesh type;
Determining module 1203, be also used to history create and have been moved out the List View list of entries in, will have The list of entries of the entry type is determined as the reusable object listing entry.
In an alternative embodiment, the Multiplexing module 1204, comprising:
Determination unit, for determining the corresponding first entry structural information of the object listing entry, the first entry Structural information includes: the control created, the list message having been displayed, the attribute information being arranged, the composition information being arranged At least one of additional information being arranged;
The determination unit, is also used to determine the corresponding second entry structural information of the object listing message, described Two entry structure information include: the control created required for the display object listing message, the display object listing The attribute information, the required composition information being arranged of the display object listing message and the display institute being arranged required for message State at least one of the additional information being arranged required for object listing message;
Unit is modified, for when the first entry structural information and the second entry structural information have differences, The first entry structural information in the object listing entry is revised as the second entry structure according to the difference Information;
The object listing message is moved into the column for being multiplexed the modified object listing entry by Multiplexing Unit It is shown in table view.
In an alternative embodiment, the determining module 1203 is also used to determine that the object listing message institute is right The second identifier answered;
Described device, further includes:
Replacement module, for the first identifier in the object listing entry to be replaced with the second identifier.
In an alternative embodiment, described device, further includes:
Module is obtained, for obtaining the message of the corresponding first batch of the user interface, the message of the first batch In include the List View on need to be shown at least one list message;
Creation module, for the corresponding node tree of the user interface according to the message establishing of the first batch, The node tree includes several nodes, and there are at least one list nodes corresponding with the list message.
In an alternative embodiment, described device, further includes:
Generation module obtains signal for generating message according to the slip signals;
The acquisition module is also used to corresponding i-th batch of user interface according to message acquisition signal acquisition Message;
Update module, for the node tree according to the information updating of i-th batch.
In conclusion by inquiring reusable object listing entry, when there are reusable object listing items When mesh, being multiplexed the object listing entry will show in object listing message immigration List View, without being again the target List message creates additional list of entries, reduces the quantity of list of entries and occupied memory in memory, improves Caton situation when sliding list view is reduced or avoided in the sliding efficiency of List View;
The list of entries with the entry type is searched by the corresponding entry type of object listing message, by different entries The list of entries of type distinguishes, convenient for the management of list of entries;
In an alternative embodiment, the mark of object listing message needs the mark successful match with list of entries Afterwards, ability reusable list of entries, therefore the first identifier in object listing entry is replaced, allow terminal to be multiplexed this Object listing entry;
By being compared to the difference between first entry structural information and second entry structural information, so that only needing Difference section in object listing entry is replaced, due to so the content being replaced is less, reducing without all replacements The transmission of data.
In conclusion by storing not shown list message in List View using node tree, when according to slip signals When needing being shown in object listing message immigration List View, is created in history and have been moved out the list item of List View In mesh, reusable object listing entry is determined, be multiplexed the object listing entry for object listing message and move into List View In shown, without being again the additional list of entries of object listing message establishing that will move into List View, reduce The quantity of list of entries and occupied memory in memory, improve the sliding efficiency of List View, sliding are reduced or avoided Caton situation when List View;
Since two problems may be faced: 1, multiplexed object listing entry quilt when being multiplexed object listing entry When click, corresponding first interface of object listing message is not jumped to, but may errored response display to before being multiplexed The corresponding second contact surface of list message X;2, the entry structure of the entry structure of object listing entry and object listing message exists Difference can not be directly multiplexed.
In order to solve the problems, such as the first problem in above-mentioned two faced, in the embodiment of the present application, terminal is by target column First identifier in table clause replaces with second identifier, when ensuring that multiplexed object listing entry is clicked, is able to carry out Correct response, such as: when multiplexed object listing entry is clicked, can correctly jump to corresponding with object listing message User interface;
In order to solve the problems, such as the Second Problem in above-mentioned two faced, in the embodiment of the present application, when first entry knot When structure information and second entry structural information have differences, terminal is according to difference by the first entry structure in object listing entry Information is revised as second entry structural information, to ensure the entry structure of object listing entry and the entry knot of object listing message Structure is consistent.
Figure 13 shows the structural block diagram of the terminal 1300 of an illustrative embodiment of the invention offer.The terminal 1300 can To be portable mobile termianl, such as: smart phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player.Terminal 1300 is also Other titles such as user equipment, portable terminal may be referred to as.
In general, terminal 1300 includes: processor 1301 and memory 1302.
Processor 1301 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1301 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1301 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 1301 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1301 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 1302 may include one or more computer readable storage mediums, which can To be tangible and non-transient.Memory 1302 may also include high-speed random access memory and nonvolatile memory, Such as one or more disk storage equipments, flash memory device.In some embodiments, non-transient in memory 1302 Computer readable storage medium for storing at least one instruction, at least one instruction for performed by processor 1301 with Realize List View display methods provided herein.
In some embodiments, terminal 1300 is also optional includes: peripheral device interface 1303 and at least one periphery are set It is standby.Specifically, peripheral equipment includes: radio circuit 1304, touch display screen 1305, camera 1306, voicefrequency circuit 1307, determines At least one of hyte part 1308 and power supply 1309.
Peripheral device interface 1303 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1301 and memory 1302.In some embodiments, processor 1301, memory 1302 and periphery Equipment interface 1303 is integrated on same chip or circuit board;In some other embodiments, processor 1301, memory 1302 and peripheral device interface 1303 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1304 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1304 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1304 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1304 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1304 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations In example, radio circuit 1304 can also include that NFC (Near Field Communication, wireless near field communication) is related Circuit, the application are not limited this.
Touch display screen 1305 is for showing UI (User Interface, user interface).The UI may include figure, text Sheet, icon, video and its their any combination.Touch display screen 1305 also has acquisition on the surface of touch display screen 1305 Or the ability of the touch signal of surface.The touch signal can be used as control signal and be input at processor 1301 Reason.Touch display screen 1305 is for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or soft keyboard.In some realities It applies in example, touch display screen 1305 can be one, and the front panel of terminal 1300 is arranged;In further embodiments, it touches aobvious Display screen 1305 can be at least two, be separately positioned on the different surfaces of terminal 1300 or in foldover design;In still other implementation In example, touch display screen 1305 can be flexible display screen, be arranged on the curved surface of terminal 1300 or on fold plane.Very Extremely, touch display screen 1305 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Touch display screen 1305 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1306 is for acquiring image or video.Optionally, CCD camera assembly 1306 includes front camera And rear camera.In general, front camera is for realizing video calling or self-timer, rear camera is for realizing photo or view The shooting of frequency.In some embodiments, rear camera at least two are that main camera, depth of field camera, wide-angle are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting function are realized in camera fusion in angle.In some embodiments In, CCD camera assembly 1306 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, be also possible to double-colored temperature flash of light Lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for the light compensation under different-colour.
Voicefrequency circuit 1307 is used to provide the audio interface between user and terminal 1300.Voicefrequency circuit 1307 may include Microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and converts sound waves into electric signal and be input to processing Device 1301 is handled, or is input to radio circuit 1304 to realize voice communication.For stereo acquisition or the mesh of noise reduction , microphone can be separately positioned on the different parts of terminal 1300 to be multiple.Microphone can also be array microphone or complete To acquisition type microphone.Loudspeaker is then used to that sound wave will to be converted to from the electric signal of processor 1301 or radio circuit 1304. Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When loudspeaker is piezoelectric ceramic loudspeaker When, the audible sound wave of the mankind can be not only converted electrical signals to, the sound that the mankind do not hear can also be converted electrical signals to Wave is to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1307 can also include earphone jack.
Positioning component 1308 is used for the current geographic position of positioning terminal 1300, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1308 can be the GPS (Global based on the U.S. Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group Part.
Power supply 1309 is used to be powered for the various components in terminal 1300.Power supply 1309 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1309 includes rechargeable battery, which can be line charge Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1300 further includes having one or more sensors 1310.One or more sensing Device 1310 includes but is not limited to: acceleration transducer 1311, gyro sensor 1312, pressure sensor 1313, fingerprint sensing Device 1314, optical sensor 1315 and proximity sensor 1316.
Acceleration transducer 1311 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1300 Size.For example, acceleration transducer 1311 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1301 acceleration of gravity signals that can be acquired according to acceleration transducer 1311, control touch display screen 1305 with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1311 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 1312 can detecte body direction and the rotational angle of terminal 1300, gyro sensor 1312 Acquisition user can be cooperateed with to act the 3D of terminal 1300 with acceleration transducer 1311.Processor 1301 is according to gyro sensors The data that device 1312 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1305 in terminal 1300 can be set in pressure sensor 1313.When When the side frame of terminal 1300 is arranged in pressure sensor 1313, user can detecte to the gripping signal of terminal 1300, according to The gripping signal carries out right-hand man's identification or prompt operation.When the lower layer of touch display screen 1305 is arranged in pressure sensor 1313 When, it can be according to user to the pressure operation of touch display screen 1305, the operability control on the interface UI is controlled in realization System.Operability control includes at least one of button control, scroll bar control, icon control, menu control.
Fingerprint sensor 1314 is used to acquire the fingerprint of user, according to the identity of collected fingerprint recognition user.? When the identity for identifying user is trusted identity, the user is authorized to execute relevant sensitive operation, the sensitivity by processor 1301 Operation includes solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1314 can be by The front, the back side or side of terminal 1300 are set.When being provided with physical button or manufacturer Logo in terminal 1300, fingerprint sensing Device 1314 can be integrated with physical button or manufacturer Logo.
Optical sensor 1315 is for acquiring ambient light intensity.In one embodiment, processor 1301 can be according to light The ambient light intensity that sensor 1315 acquires is learned, the display brightness of touch display screen 1305 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1305 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1305 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1301 can also be acquired according to optical sensor 1315, is moved The acquisition parameters of state adjustment CCD camera assembly 1306.
Proximity sensor 1316, also referred to as range sensor are generally arranged at the front of terminal 1300.Proximity sensor 1316 For acquiring the distance between the front of user Yu terminal 1300.In one embodiment, when proximity sensor 1316 detects When the distance between the front of user and terminal 1300 gradually becomes smaller, touch display screen 1305 is controlled from bright screen by processor 1301 State is switched to breath screen state;When proximity sensor 1316 detects that the distance between user and the front of terminal 1300 gradually become When big, touch display screen 1305 is controlled by processor 1301 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1300 of structure shown in Figure 13 Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
The embodiment of the present application provides a kind of computer readable storage medium, is stored at least one in the storage medium Instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set Or instruction set is loaded by the processor and is executed to realize the List View display methods as described in Fig. 1 to Fig. 9 is any.
The embodiment of the present application also provides a kind of computer program products comprising instruction, when it runs on computers When, so that computer executes and realizes the above-mentioned List View display methods as described in Fig. 1 to Fig. 9 is any.
Optionally, the computer readable storage medium may include: read-only memory (ROM, Read Only Memory), Random access memory (RAM, Random Access Memory), solid state hard disk (SSD, Solid State Drives) or light Disk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance Random Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).Above-mentioned Apply for that embodiment sequence number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (14)

1. a kind of List View display methods, which is characterized in that the described method includes:
Show user interface, the user interface includes n list of entries in the List View, each list of entries For showing corresponding list message, n is positive integer;
Receive the slip signals on the List View;
The object listing message needed to move into the List View, the section are determined in node tree according to the slip signals Include list node corresponding with the List View in point tree, is needed on each list node and the List View to be shown One list message is corresponding;
When there are reusable object listing entry, the object listing entry is multiplexed by the object listing message and moves into institute It states in List View and is shown, the object listing entry is history creation and the list item for having been moved out the List View Mesh.
2. multiple the method according to claim 1, wherein described when there are reusable object listing entry It will be before being shown in the object listing message immigration List View with the object listing entry, further includes:
Determine the corresponding entry type of the object listing message;
It is in the list of entries that history creates and has been moved out the List View, the list of entries with the entry type is true It is set to the reusable object listing entry.
3. multiple the method according to claim 1, wherein described when there are reusable object listing entry The object listing message is moved into the List View with the object listing entry and is shown, comprising:
Determine the corresponding first entry structural information of the object listing entry, the first entry structural information includes: to have created The control built, the list message having been displayed, the attribute information being arranged, the composition information being arranged and the additional information being arranged At least one of;
Determine that the corresponding second entry structural information of the object listing message, the second entry structural information include: display The control, the required attribute being arranged of the display object listing message created required for the object listing message Setting required for the composition information and the display object listing message that are arranged required for information, the display object listing message At least one of additional information;
It, will be described according to the difference when the first entry structural information and the second entry structural information have differences The first entry structural information in object listing entry is revised as the second entry structural information;
Being multiplexed the modified object listing entry will show in the object listing message immigration List View.
4. the method according to claim 1, wherein the object listing entry includes: first identifier;
The multiplexing object listing entry moves into the object listing message in the List View shown before, Further include:
Determine second identifier corresponding to the object listing message;
The first identifier in the object listing entry is replaced with into the second identifier.
5. method according to any one of claims 1 to 4, which is characterized in that before the display user interface, further includes:
The message of the corresponding first batch of the user interface is obtained, includes the List View in the message of the first batch Upper need at least one list message to be shown;
According to the corresponding node tree of user interface described in the message establishing of the first batch, the node tree includes several A node, there are at least one list nodes corresponding with the list message.
6. according to the method described in claim 5, it is characterized in that, the slip signals of the reception on the List View it Afterwards, further includes:
Message, which is generated, according to the slip signals obtains signal;
According to the message of corresponding i-th batch of user interface described in message acquisition signal acquisition, i is the integer greater than 1;
According to node tree described in the information updating of i-th batch.
7. a kind of List View display device, which is characterized in that described device includes:
Display module, for showing that user interface, the user interface include n list of entries in the List View, often For a list of entries for showing corresponding list message, n is positive integer;
Receiving module, for receiving the slip signals on the List View;
Determining module, for determining the target column needed to move into the List View in node tree according to the slip signals Table message, includes list node corresponding with the List View in the node tree, and each list node and the list regard Need a list message to be shown corresponding on figure;
Multiplexing module, for when there are reusable object listing entry, being multiplexed the object listing entry for the target List message is moved into the List View and is shown, the object listing entry is history creation and has been moved out the list The list of entries of view.
8. device according to claim 7, which is characterized in that the determining module is also used to determine the object listing The corresponding entry type of message;
The determining module, be also used to create in history and have been moved out the List View list of entries in, will have described The list of entries of entry type is determined as the reusable object listing entry.
9. device according to claim 7, which is characterized in that the Multiplexing module, comprising:
Determination unit, for determining the corresponding first entry structural information of the object listing entry, the first entry structure Information includes: the control created, the list message having been displayed, the attribute information being arranged, the composition information being arranged and At least one of additional information of setting;
The determination unit is also used to determine the corresponding second entry structural information of the object listing message, the Article 2 Mesh structural information includes: the control created required for the display object listing message, the display object listing message The attribute information, the required composition information being arranged of the display object listing message and the display mesh of required setting Mark at least one of the additional information being arranged required for list message;
Unit is modified, for when the first entry structural information and the second entry structural information have differences, according to The first entry structural information in the object listing entry is revised as the second entry structural information by the difference;
The object listing message is moved into the list view for being multiplexed the modified object listing entry by Multiplexing Unit It is shown in figure.
10. device according to claim 7, which is characterized in that the determining module is also used to determine the object listing Second identifier corresponding to message;
Described device, further includes:
Replacement module, for the first identifier in the object listing entry to be replaced with the second identifier.
11. according to any device of claim 7 to 10, which is characterized in that described device, further includes:
Module is obtained to wrap in the message of the first batch for obtaining the message of the corresponding first batch of the user interface Including needs to be shown at least one list message on the List View;
Creation module, it is described for the corresponding node tree of the user interface according to the message establishing of the first batch Node tree includes several nodes, and there are at least one list nodes corresponding with the list message.
12. device according to claim 11, which is characterized in that described device, further includes:
Generation module obtains signal for generating message according to the slip signals;
The acquisition module is also used to disappearing for corresponding i-th batch of user interface according to message acquisition signal acquisition Breath;
Update module, for the node tree according to the information updating of i-th batch.
13. a kind of terminal, which is characterized in that the terminal includes processor and memory, is stored at least in the memory One instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation Code collection or instruction set are loaded by the processor and are executed to realize that the List View as described in claim 1 to 6 is any is shown Method.
14. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction Collection is loaded by the processor and is executed to realize the List View display methods as described in claim 1 to 6 is any.
CN201711179801.9A 2017-11-23 2017-11-23 List view display method, device and readable medium Active CN109828802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711179801.9A CN109828802B (en) 2017-11-23 2017-11-23 List view display method, device and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711179801.9A CN109828802B (en) 2017-11-23 2017-11-23 List view display method, device and readable medium

Publications (2)

Publication Number Publication Date
CN109828802A true CN109828802A (en) 2019-05-31
CN109828802B CN109828802B (en) 2023-03-21

Family

ID=66858461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711179801.9A Active CN109828802B (en) 2017-11-23 2017-11-23 List view display method, device and readable medium

Country Status (1)

Country Link
CN (1) CN109828802B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442330A (en) * 2019-07-05 2019-11-12 五八有限公司 List element conversion method, device, electronic equipment and storage medium
CN110647322A (en) * 2019-08-15 2020-01-03 北京三快在线科技有限公司 List rendering method and device, electronic equipment and computer readable medium
CN110716684A (en) * 2019-10-10 2020-01-21 北京无限光场科技有限公司 User interface display method and device, electronic equipment and machine-readable storage medium
CN111309417A (en) * 2020-01-19 2020-06-19 北京无限光场科技有限公司 Data display method and device in application program, electronic equipment and readable medium
CN111309216A (en) * 2020-02-10 2020-06-19 广州虎牙科技有限公司 List page display method and device, computer equipment and storage medium
CN111782994A (en) * 2019-09-30 2020-10-16 北京京东尚科信息技术有限公司 Method and device for circularly displaying information based on view control
CN112230906A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 List control creating method, device and equipment and readable storage medium
CN112235621A (en) * 2020-10-10 2021-01-15 Vidaa美国公司 Display method and display equipment for visual area
CN112506509A (en) * 2020-12-11 2021-03-16 杭州安恒信息技术股份有限公司 Method and related device for realizing tree control supporting big data rendering
CN112540761A (en) * 2020-12-11 2021-03-23 网易(杭州)网络有限公司 Control display control method and device
CN112748967A (en) * 2019-10-30 2021-05-04 北京国双科技有限公司 Tree control positioning display method and device, computer equipment and storage medium
CN113436344A (en) * 2021-06-25 2021-09-24 广联达科技股份有限公司 Display method and system of reference view and image display equipment
CN113946255A (en) * 2021-11-01 2022-01-18 广州繁星互娱信息科技有限公司 Method and device for running list view control and electronic equipment
CN115237413A (en) * 2022-09-22 2022-10-25 北京达佳互联信息技术有限公司 List processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202871A1 (en) * 2010-02-17 2011-08-18 Oracle International Corporation Method and system for scrolling through a graphical user interface list control
CN104182129A (en) * 2013-05-22 2014-12-03 腾讯科技(深圳)有限公司 Method and device for displaying data list editing operation
CN104216909A (en) * 2013-06-04 2014-12-17 腾讯科技(深圳)有限公司 Webpage data processing method and device
CN105094776A (en) * 2014-05-14 2015-11-25 北大方正集团有限公司 List processing method and device
CN105867750A (en) * 2016-03-31 2016-08-17 郑州悉知信息科技股份有限公司 List display method and device
CN106528026A (en) * 2016-11-29 2017-03-22 武汉斗鱼网络科技有限公司 Text display method and device
CN106648642A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Infinite page scrolling method of slide view in IOS client end and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202871A1 (en) * 2010-02-17 2011-08-18 Oracle International Corporation Method and system for scrolling through a graphical user interface list control
CN104182129A (en) * 2013-05-22 2014-12-03 腾讯科技(深圳)有限公司 Method and device for displaying data list editing operation
CN104216909A (en) * 2013-06-04 2014-12-17 腾讯科技(深圳)有限公司 Webpage data processing method and device
CN105094776A (en) * 2014-05-14 2015-11-25 北大方正集团有限公司 List processing method and device
CN105867750A (en) * 2016-03-31 2016-08-17 郑州悉知信息科技股份有限公司 List display method and device
CN106528026A (en) * 2016-11-29 2017-03-22 武汉斗鱼网络科技有限公司 Text display method and device
CN106648642A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Infinite page scrolling method of slide view in IOS client end and system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442330A (en) * 2019-07-05 2019-11-12 五八有限公司 List element conversion method, device, electronic equipment and storage medium
CN112230906A (en) * 2019-07-15 2021-01-15 腾讯科技(深圳)有限公司 List control creating method, device and equipment and readable storage medium
CN112230906B (en) * 2019-07-15 2023-05-23 腾讯科技(深圳)有限公司 Method, device and equipment for creating list control and readable storage medium
CN110647322A (en) * 2019-08-15 2020-01-03 北京三快在线科技有限公司 List rendering method and device, electronic equipment and computer readable medium
CN110647322B (en) * 2019-08-15 2020-12-18 北京三快在线科技有限公司 List rendering method and device, electronic equipment and computer readable medium
CN111782994A (en) * 2019-09-30 2020-10-16 北京京东尚科信息技术有限公司 Method and device for circularly displaying information based on view control
CN111782994B (en) * 2019-09-30 2024-04-05 北京京东尚科信息技术有限公司 Method and device for circularly displaying information based on view control
CN110716684A (en) * 2019-10-10 2020-01-21 北京无限光场科技有限公司 User interface display method and device, electronic equipment and machine-readable storage medium
CN112748967A (en) * 2019-10-30 2021-05-04 北京国双科技有限公司 Tree control positioning display method and device, computer equipment and storage medium
CN111309417A (en) * 2020-01-19 2020-06-19 北京无限光场科技有限公司 Data display method and device in application program, electronic equipment and readable medium
CN111309216B (en) * 2020-02-10 2022-03-22 广州虎牙科技有限公司 List page display method and device, computer equipment and storage medium
CN111309216A (en) * 2020-02-10 2020-06-19 广州虎牙科技有限公司 List page display method and device, computer equipment and storage medium
CN112235621A (en) * 2020-10-10 2021-01-15 Vidaa美国公司 Display method and display equipment for visual area
CN112540761A (en) * 2020-12-11 2021-03-23 网易(杭州)网络有限公司 Control display control method and device
CN112506509B (en) * 2020-12-11 2024-02-09 杭州安恒信息技术股份有限公司 Method and related device for realizing that tree control supports big data rendering
CN112506509A (en) * 2020-12-11 2021-03-16 杭州安恒信息技术股份有限公司 Method and related device for realizing tree control supporting big data rendering
CN113436344A (en) * 2021-06-25 2021-09-24 广联达科技股份有限公司 Display method and system of reference view and image display equipment
CN113946255A (en) * 2021-11-01 2022-01-18 广州繁星互娱信息科技有限公司 Method and device for running list view control and electronic equipment
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
CN109828802B (en) 2023-03-21

Similar Documents

Publication Publication Date Title
CN109828802A (en) List View display methods, device and readable medium
CN110020140A (en) Recommendation display methods, apparatus and system
EP4002107A1 (en) Data binding method, apparatus, and device of mini program, and storage medium
US20200104320A1 (en) Method, apparatus and computer device for searching audio, and storage medium
CN104093085B (en) Method for information display and device
US11645051B2 (en) Mini program production method and apparatus, terminal, and storage medium
KR20150072764A (en) Method and apparatus for controlling scale resolution in a electronic device
CN110110263A (en) Webpage display process, device, terminal and storage medium
CN109948087B (en) Webpage resource obtaining method and device and terminal
US11137838B2 (en) Electronic device for storing user data, and method therefor
CN109922356A (en) Video recommendation method, device and computer readable storage medium
CN109213400A (en) Processing method, device, terminal and the storage medium of multimedia object
CN109086366A (en) Recommendation news display methods, device, equipment and storage medium in browser
CN109948581A (en) Picture and text rendering method, device, equipment and readable storage medium storing program for executing
KR20180086639A (en) Electronic apparatus and controlling method thereof
CN110121094A (en) Video is in step with display methods, device, equipment and the storage medium of template
CN109241497A (en) Text handling method and device
CN110523084A (en) Ranking list methods of exhibiting, device, computer equipment and storage medium
CN109218751A (en) The method, apparatus and system of recommendation of audio
CN110245255B (en) Song display method, device, equipment and storage medium
CN108038232B (en) Webpage editing method, device and system and storage medium
CN110377784A (en) Sing single update method, device, terminal and storage medium
CN109726379A (en) Content item edit methods, device, electronic equipment and storage medium
CN109933594A (en) Obtain method, apparatus, electronic equipment and the medium of data
CN109902089B (en) Query method and device using heterogeneous index, electronic equipment and medium

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