CN102982086B - A kind of system and method representing the scroll list - Google Patents
A kind of system and method representing the scroll list Download PDFInfo
- Publication number
- CN102982086B CN102982086B CN201210430040.0A CN201210430040A CN102982086B CN 102982086 B CN102982086 B CN 102982086B CN 201210430040 A CN201210430040 A CN 201210430040A CN 102982086 B CN102982086 B CN 102982086B
- Authority
- CN
- China
- Prior art keywords
- entry
- view
- group
- represented
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 239000000284 extract Substances 0.000 claims description 12
- 230000003044 adaptive effect Effects 0.000 description 6
- 238000013479 data entry Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of system and method representing the scroll list, described system includes: entry grouping module, is suitable to be grouped the entry in the scroll list, obtains at least one entry group, and each entry group includes multiple entry;Input interface, is suitable to receive the positional information of externally input;Data acquisition module, is suitable to the positional information according to input and determines entry group to be represented, obtain the data that in entry group to be represented, each entry is corresponding;View calling module, is suitable to call the view container comprising many sub-views, the plurality of sub-view and entry one_to_one corresponding in entry group to be represented, and the data of each entry in entry group to be represented is loaded in corresponding sub-view;View represents module, is suitable to, by entry group correspondence format alignment view container neutron view to be represented, represent the view container after arrangement.The invention solves ways of presentation single, for complex data information type, represent and realize difficulty increase, and the problem thus increasing development cost.
Description
Technical field
The present invention relates to computer realm, be specifically related to a kind of system and method representing the scroll list.
Background technology
In the application and development of existing terminal platform, for instance Android (Android) platform, it usually needs represent substantial amounts of data message.This type of data message such as associated person information, microblogging, and news article etc..In prior art, the method for demonstrating data information is for represent by the scroll list.In the scroll list, data message represents by bar, when a certain moment, when the scroll list is slid to some or some entries, obtains the positional information of this entry to be represented, represents according to the data message that this positional information calls entry corresponding.
There is following point in the technical scheme of the demonstrating data information of prior art.Data message is only capable of representing in mode one by one, and ways of presentation is single.And it is only capable of supporting simple data information type, such as single picture/mb-type or single literal type, for complex data information type, for instance the data message type of the word such as associated person information or microblogging and picture mixing, realize difficulty to enlarge markedly, increase development cost.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of and overcome the problems referred to above or solve a kind of system representing the scroll list of the problems referred to above and the method representing the scroll list accordingly at least in part.
According to one aspect of the present invention, it is provided that a kind of system representing the scroll list, described system includes:
Entry grouping module, is suitable to be grouped the entry in the scroll list, obtains at least one entry group, and each entry group includes multiple entry;
Input interface, is suitable to receive the positional information of externally input;
Data acquisition module, is suitable to the positional information according to input and determines entry group to be represented, obtain the data that in entry group to be represented, each entry is corresponding;
View calling module, is suitable to call the view container comprising many sub-views, the plurality of sub-view and entry one_to_one corresponding in entry group to be represented, and the data of each entry in entry group to be represented is loaded in corresponding sub-view;
View represents module, is suitable to, by entry group correspondence format alignment view container neutron view to be represented, represent the view container after arrangement.
Alternatively, the positional information of described input is the call number of entry group to be represented,
Described data acquisition module farther includes:
Entry index determines submodule, is suitable to the call number according to entry group to be represented and determines the call number of each entry in this entry group;
Entry data extracts submodule, is suitable to the call number according to each entry and extracts the data that each entry is corresponding.
Alternatively, described entry grouping module is further adapted for: by entry in the scroll list by vertical sequential packet, wherein, and every n entry is one group, and n is default entry number;
Described entry index determines that submodule is further adapted for: calculated the call number of each entry in this entry group by the call number of described default entry number He entry group to be represented.
Alternatively, described view calling module is further adapted for: creates the view container comprising many sub-views, calls the view container of establishment;
Or,
Described view calling module is further adapted for: call the view container comprising many sub-views discharged.
Alternatively, described view calling module is further adapted for: by sub-view corresponding for the data input of each entry in entry group to be represented, arrange and arrange the view elements of described entry in sub-view according to the data inputted.
According to a further aspect in the invention, it is provided that a kind of method representing the scroll list, described method includes:
Entry in the scroll list being grouped, obtain at least one entry group, each entry group includes multiple entry;
Positional information according to input determines entry group to be represented, and obtains the data that in entry group to be represented, each entry is corresponding;
Call the view container comprising many sub-views, the plurality of sub-view and entry one_to_one corresponding in entry group to be represented, the data of each entry in entry group to be represented are loaded in corresponding sub-view;
By the sub-view in entry group correspondence format alignment view container to be represented, represent the view container after arrangement.
Alternatively, the positional information of described input is the call number of entry group to be represented,
Described obtain the data that in entry group to be represented, each entry is corresponding and farther include:
Call number according to entry group to be represented determines the call number of each entry in this entry group;
Call number according to each entry extracts the data that each entry is corresponding.
Alternatively, described entry in the scroll list packet farther includes:
By the entry in the scroll list by vertical sequential packet, wherein, every n entry is one group, and n is default entry number;
The call number of the entry group that described basis is to be represented determines that in this entry group, the call number of each entry farther includes:
The call number of each entry in this entry group is calculated by the call number of described default entry number He entry group to be represented.
Alternatively, call the view container comprising many sub-views described in farther include:
Create the view container comprising many sub-views, call the view container of establishment;
Or,
Call the view container comprising many sub-views discharged.
Alternatively, the described sub-view that the data of each entry in entry group to be represented load correspondence farther includes:
By sub-view corresponding for the data input of each entry in entry group to be represented;
Sub-view arranges according to the data inputted and arranges the view elements of described entry.
According to technical scheme, by the entry in the scroll list is grouped, call the view container comprising many sub-views, the data of each entry in entry group to be represented are loaded in corresponding sub-view, by the sub-view in entry group correspondence format alignment view container to be represented, represent the view container after arrangement, entry in the scroll list can be represented by multiple format, and use view container to make it easy to realize multiple format to represent, thus solve ways of presentation single, for complex data information type, represent and realize difficulty increase, and the problem thus increasing development cost, achieve and complex data information type is carried out variation represent, and easily realize, save the beneficial effect of development cost.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, and can be practiced according to the content of description, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit those of ordinary skill in the art be will be clear from understanding.Accompanying drawing is only for illustrating the purpose of preferred implementation, and is not considered as limitation of the present invention.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 illustrates the structure chart of the system representing the scroll list according to an embodiment of the invention;
Fig. 2 illustrates the structure chart of data acquisition module according to an embodiment of the invention;
Fig. 3 illustrates the schematic diagram of the scroll list represented according to an embodiment of the invention;
Fig. 4 illustrates the flow chart of the method representing the scroll list according to an embodiment of the invention;
Fig. 5 illustrates and obtains the flow chart of the data that each entry is corresponding in entry group to be represented according to an embodiment of the invention;And
Fig. 6 illustrates the flow chart of the method representing the scroll list according to an embodiment of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing showing the exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should do not limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Referring to Fig. 1, it is shown that represent the structure chart of the system of the scroll list according to an embodiment of the invention.In the present embodiment, system 10 includes: entry grouping module 100, data acquisition module 200, view calling module 300, view represent module 400 and input interface 500.This system 10 may be located at the terminal unit such as mobile terminal, terminal.
Entry grouping module 100, is suitable to be grouped the entry in the scroll list, obtains at least one entry group, and each entry group includes multiple entry.
For example, entry grouping module 100 can by entry in the scroll list by vertical sequential packet, and wherein, every n entry is one group, and n is default entry number.Such as, always having 700 data information in the scroll list, namely entry is 700, and the entry number n preset is 10, then entry is divided into 70 entry groups by vertical order, is 10 entries in each entry group by 700/10=70.
In the example above, the number of entries in each entry group is identical, it is also possible to be grouped by other means.Such as, by the mode of configuration packet quantity list, configuring the quantity of entry in each entry group in lists, entry be grouped by this number of packet list, thus the entry in each entry group after packet can be different.
Input interface 500, is suitable to receive the positional information of externally input.
Data acquisition module 200, is suitable to the positional information according to input and determines entry group to be represented, obtain the data that in entry group to be represented, each entry is corresponding.
Referring to Fig. 2, it is shown that the structure chart of data acquisition module 200 according to an embodiment of the invention.Wherein, the positional information of input is the call number of entry group to be represented.Data acquisition module 200 farther includes: entry index determines that submodule 210 and entry data extract submodule 220.
Entry index determines submodule 210, is suitable to the call number according to entry group to be represented and determines the call number of each entry in this entry group.
For example, if during entry packet, be grouped by default entry number n, then in each entry group, number of entries is identical.Entry index determines that submodule 210 is calculated the call number of each entry in this entry group by the call number of the entry number preset He entry group to be represented.Such as, the entry number n preset is 10, and the call number of entry group to be represented is 10, then 10 × 10=100, and 100 is the initial call number of the index range of entry to be represented, 100+10-1=109, and 109 is the end call number of the index range of entry to be represented.
If be grouped by number of packet list, then entry index determines that submodule 210 can be calculated the call number of each entry in this entry group by the call number of number of packet list and entry group to be represented.It is added by number of entries in each entry group before the call number of entry group to be represented in number of packet list, obtaining the initial call number of the index range of entry to be represented, this initial call number is added the end call number of the index range obtaining entry to be represented with number of entries in this entry group.
Entry data extracts submodule 220, is suitable to the call number according to each entry and extracts the data that each entry is corresponding.Such as, obtain, by interface getView () of the adaptive class Adapter of the scroll list in Android, the data that entry is corresponding.Specifically, call interface setAdapter (ListAdapteradapter) in ListView, by ListView and adaptive class Adapter binding, create the Adapter of the scroll list to be represented.By interface getView () of the call number input Adapter of entry in entry group, it is thus achieved that the data message that this entry is corresponding.
View calling module 300, is suitable to call the view container comprising many sub-views, the plurality of sub-view and entry one_to_one corresponding in entry group to be represented, and the data of each entry in entry group to be represented is loaded in corresponding sub-view.
View calling module 300 can call view container in several ways.Such as, view calling module 300 creates the view container comprising many sub-views, calls the view container of establishment.Again such as, view calling module 300 calls the view container comprising many sub-views discharged.
Additionally, view calling module 300 is when representing sub-view, by sub-view corresponding for the data input of each entry in entry group to be represented, sub-view arranges and arranges the view elements of described entry according to the data inputted.
View represents module 400, is suitable to, by entry group correspondence format alignment view container neutron view to be represented, represent the view container after arrangement.
Therefore, in the present embodiment, the entry in the scroll list can be represented by technical scheme by multiple format, and use view container to make it easy to realize multiple format to represent, thus solve ways of presentation single, for complex data information type, represent and realize difficulty increase, and the problem thus increasing development cost, achieve and complex data information type is carried out variation represent, and easily realize, save the beneficial effect of development cost.
Referring to Fig. 3, it is shown that the schematic diagram of the scroll list represented according to an embodiment of the invention.In the present embodiment, format three kinds different is adopted to represent entry group.Rolling in entry 500 entries altogether in the present embodiment, every 5 entries are one group.
In the present embodiment, represent, based on ListView and Adapter in Android platform, the Data Entry that quantity is bigger.Call interface setAdapter (ListAdapteradapter) in ListView, by ListView and adaptive class Adapter binding, create the Adapter of the scroll list to be represented.Self-defined Adapter, it is achieved for interface getCount () in the Adapter of entry group and getView ().
The return value of interface getCount () is no longer number of entries of the prior art, but the entry group quantity in the scroll list to be represented.Being implemented as, the return value of getCount () is the entry number n that entry is total/default, for instance 500/5=100.
The item view of the return of interface getView () is no longer the view of the data message of an entry, but the view of the entry group on certain position.The view that getView () returns is the view container comprising many sub-views, and view container neutron view is by entry group correspondence format arrangement to be represented.Described in being implemented as follows.
Entry grouping module 100, by 500 entry packets in the scroll list, is divided into 100 entry groups, and each entry group includes 5 entries.
Input interface 500 receives the positional information of externally input, and this positional information is the call number index of the entry group of request.
Data acquisition module 200 calculates the scope of entry index in this entry group according to call number index and the entry number preset of requested entry group.Such as index is 10, then in entry group, the initial call number of the call number scope of entry is 10 × 5=50, and end call number is 50+5-1=54, totally 5 entries, i.e. 5 data information.Data acquisition module 200 extracts, according to the call number of each entry in the entry group of request, the data that each entry is corresponding.
View calling module 300 creates or reuses and shows the view container of data message in whole entry group, comprises all sub-view corresponding to entry group data message to be shown in this view container.Such as often organize 5 data information, then the view container returned will comprise 5 sub-views, with 5 data information one_to_one corresponding in entry group.This group data message is respectively charged in each corresponding sub-view, can according to the quantity of the property settings view elements of data message and layout inside every sub-view.
View represents module 400 by entry group correspondence format alignment view container neutron view to be represented, and represents the view container after arrangement.In the present embodiment, the bandwagon effect of items for information is as it is shown on figure 3, entry group to be represented distinguishes corresponding 3 kinds different formats.The view container employing first set format that first group of data message is corresponding, view container employing the second set format that second group of data message is corresponding, view container employing the 3rd set format that the 3rd group of data message is corresponding.Afterwards, the view container that the 4th group of data message is corresponding is again with first set format, so circulates so that each group data message represents with different formats.
In the present embodiment, the Data Entry that quantity is bigger can be represented based on ListView and Adapter, namely using ListView or from the derivative control class of ListView as view container, quantity and the view of entry group are provided with the use of interface getCount () in the Adapter again realized and getView ().It is different from prior art entry and data message ways of presentation one to one, and by several one group, data message is divided into some groups, and often group data message is corresponding with in the scroll list entry group, and this entry group is corresponding with ListViewItem in ListView.Inside each entry group, the view of data message corresponding to each entry being carried out self-defined sequence, data message is only capable of more various layout of longitudinal arrangement to have reached to be different from prior art in view.Further, this implementation can realize based on existing interface, it is achieved simple, has saved development cost.
Referring to Fig. 4, it is shown that represent the flow chart of the method for the scroll list according to an embodiment of the invention.In the present embodiment, method comprises the steps.
Step S410, is grouped the entry in the scroll list, obtains at least one entry group, and each entry group includes multiple entry.
For example, step S410 farther includes: by entry in the scroll list by vertical sequential packet, wherein, and every n entry is one group, and n is default entry number.Such as, always having 700 data information in the scroll list, namely entry is 700, and the entry number n preset is 10, then entry is divided into 70 entry groups by vertical order, is 10 entries in each entry group by 700/10=70.
In the example above, the number of entries in each entry group is identical, it is also possible to be grouped by other means.Such as, by the mode of configuration packet quantity list, configuring the quantity of entry in each entry group in lists, entry be grouped by this number of packet list, thus the entry in each entry group after packet can be different.
Step S420, determines entry group to be represented according to the positional information of input, obtains the data that in entry group to be represented, each entry is corresponding.
Further, the positional information of input is the call number of entry group to be represented.Referring to Fig. 5, for the embodiment of the present invention obtains the flow chart of the data that each entry is corresponding in entry group to be represented, wherein farther include following steps.
Step S4210, determines the call number of each entry in this entry group according to the call number of entry group to be represented.
Step S4220, extracts, according to the call number of each entry, the data that each entry is corresponding.
For example, if during entry packet, be grouped by default entry number n, then in each entry group, number of entries is identical.Step S4210 farther includes: calculated the call number of each entry in this entry group by the call number of the entry number preset He entry group to be represented.Such as, the entry number n preset is 10, and the call number of entry group to be represented is 10, then 10 × 10=100, and 100 is the initial call number of the index range of entry to be represented, 100+10-1=109, and 109 is the end call number of the index range of entry to be represented.
If be grouped by number of packet list, then step S4210 farther includes: calculated the call number of each entry in this entry group by the call number of number of packet list and entry group to be represented.It is added by number of entries in each entry group before the call number of entry group to be represented in number of packet list, obtaining the initial call number of the index range of entry to be represented, this initial call number is added the end call number of the index range obtaining entry to be represented with number of entries in this entry group.
For example, described step S4220 obtains, by the adaptive class Adapter of the scroll list in Android, the data that entry is corresponding.Specifically, call interface setAdapter (ListAdapteradapter) in ListView, by ListView and adaptive class Adapter binding, create the Adapter of the scroll list to be represented.By interface getView () of the call number input Adapter of entry in entry group, it is thus achieved that the data message that this entry is corresponding.
Step S430, calls the view container comprising many sub-views, the plurality of sub-view and entry one_to_one corresponding in entry group to be represented, and the data of each entry in entry group to be represented is loaded in corresponding sub-view.
View container can be called in several ways.Such as, create the view container comprising many sub-views, call the view container of establishment.Again such as, the view container comprising many sub-views discharged is called.
Additionally, when representing sub-view, by sub-view corresponding for the data input of each entry in entry group to be represented, sub-view arranges and arranges the view elements of described entry according to the data inputted.
Step S440, by the sub-view in entry group correspondence format alignment view container to be represented, represents the view container after arrangement.
Therefore, in the present embodiment, the entry in the scroll list can be represented by technical scheme by multiple format, and use view container to make it easy to realize multiple format to represent, thus solve ways of presentation single, for complex data information type, represent and realize difficulty increase, and the problem thus increasing development cost, achieve and complex data information type is carried out variation represent, and easily realize, save the beneficial effect of development cost.
Referring to Fig. 6, it is shown that the flow chart of the method for the scroll list represented according to an embodiment of the invention.In the present embodiment, format three kinds different is adopted to represent entry group.Rolling in entry 500 entries altogether in the present embodiment, every 5 entries are one group.
In the present embodiment, represent, based on ListView and Adapter in Android platform, the Data Entry that quantity is bigger.Call interface setAdapter (ListAdapteradapter) in ListView, by ListView and adaptive class Adapter binding, create the Adapter of the scroll list to be represented.Self-defined Adapter, it is achieved for interface getCount () in the Adapter of entry group and getView ().
The return value of interface getCount () is no longer number of entries of the prior art, but the entry group quantity in the scroll list to be represented.Being implemented as, the return value of getCount () is the entry number n that entry is total/default, for instance 500/5=100.
The item view of the return of interface getView () is no longer the view of the data message of an entry, but the view of the entry group on certain position.The view that getView () returns is the view container comprising many sub-views, and view container neutron view is by entry group correspondence format arrangement to be represented.Described in being implemented as follows.
Step S610, by 500 entry packets in the scroll list, is divided into 100 entry groups, and each entry group includes 5 entries.
Step S620, calculates the scope of entry index in this entry group according to the call number index of requested entry group, extracts, according to the call number of each entry in the entry group of request, the data that each entry is corresponding.Such as index is 10, then in entry group, the initial call number of the call number scope of entry is 10 × 5=50, and end call number is 50+5-1=54, totally 5 entries, i.e. 5 data information.
Step S630, create or reuse and show the view container of data message in whole entry group, this view container comprises all sub-view corresponding to entry group data message to be shown, the data message of each entry in this entry group is respectively charged in each corresponding sub-view.Such as often organize 5 data information, then the view container returned will comprise 5 sub-views, with 5 data information one_to_one corresponding in entry group.Can according to the quantity of the property settings view elements of data message and layout inside every sub-view.
Step S640, by entry group correspondence format alignment view container neutron view to be represented, represents the view container after arrangement.In the present embodiment, items for information shows as it is shown on figure 3, entry group to be represented distinguishes corresponding 3 kinds different formats.The view container employing first set format that first group of data message is corresponding, view container employing the second set format that second group of data message is corresponding, view container employing the 3rd set format that the 3rd group of data message is corresponding.Afterwards, the view container that the 4th group of data message is corresponding is again with first set format, so circulates so that each group data message represents with different formats.
In the present embodiment, the Data Entry that quantity is bigger can be represented based on ListView and Adapter, namely using ListView or from the derivative control class of ListView as view container, quantity and the view of entry group are provided with the use of interface getCount () in the Adapter again realized and getView ().It is different from prior art entry and data message ways of presentation one to one, and by several one group, data message is divided into some groups, and often group data message is corresponding with in the scroll list entry group, and this entry group is corresponding with ListViewItem in ListView.Inside each entry group, the view of data message corresponding to each entry being carried out self-defined sequence, data message is only capable of more various layout of longitudinal arrangement to have reached to be different from prior art in view.Further, this implementation can realize based on existing interface, it is achieved simple, has saved development cost.
Not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant in algorithm and the display of this offer.Various general-purpose systems can also with use based on together with this teaching.As described above, the structure constructed required by this kind of system is apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to utilize various programming language to realize the content of invention described herein, and the description above language-specific done is the preferred forms in order to disclose the present invention.
In description mentioned herein, describe a large amount of detail.It is to be appreciated, however, that embodiments of the invention can be put into practice when not having these details.In some instances, known method, structure and technology it are not shown specifically, in order to do not obscure the understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify that the disclosure helping understands in each inventive aspect, herein above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or descriptions thereof sometimes.But, the method for the disclosure should be construed to and reflect an intention that namely the present invention for required protection requires feature more more than the feature being expressly recited in each claim.More precisely, as the following claims reflect, inventive aspect is in that all features less than single embodiment disclosed above.Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, wherein each claim itself as the independent embodiment of the present invention.
Those skilled in the art are appreciated that, it is possible to carry out the module in the equipment in embodiment adaptively changing and they being arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit excludes each other, it is possible to adopt any combination that all processes or the unit of all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment are combined.Unless expressly stated otherwise, each feature disclosed in this specification (including adjoint claim, summary and accompanying drawing) can be replaced by the alternative features providing purpose identical, equivalent or similar.
In addition, those skilled in the art it will be appreciated that, although embodiments more described herein include some feature included in other embodiments rather than further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can mode use in any combination.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment without departing from the scope of the appended claims.In the claims, any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not exclude the presence of the element or step not arranged in the claims.Word "a" or "an" before being positioned at element does not exclude the presence of multiple such element.The present invention by means of including the hardware of some different elements and can realize by means of properly programmed computer.In the unit claim listing some devices, several in these devices can be through same hardware branch and specifically embody.Word first, second and third use do not indicate that any order.Can be title by these word explanations.
Claims (8)
1. representing the system of the scroll list, described system includes:
Entry grouping module, is suitable to be grouped the entry in the scroll list, obtains at least one entry group, and each entry group includes multiple entry;
Input interface, is suitable to receive the positional information of externally input;
Data acquisition module, is suitable to the positional information according to input and determines entry group to be represented, obtain the data that in entry group to be represented, each entry is corresponding;
View calling module, is suitable to call the view container comprising many sub-views, the plurality of sub-view and entry one_to_one corresponding in entry group to be represented, and the data of each entry in entry group to be represented is loaded in corresponding sub-view;
View represents module, is suitable to, by entry group correspondence format alignment view container neutron view to be represented, represent the view container after arrangement, entry in the scroll list represented by multiple format;
Wherein, described view calling module is further adapted for: by sub-view corresponding for the data input of each entry in entry group to be represented, in sub-view, the data according to input arrange and arrange the view elements of described entry, the quantity of property settings view elements according to data and layout inside every individual sub-view.
2. system according to claim 1, wherein, the positional information of described input is the call number of entry group to be represented,
Described data acquisition module farther includes:
Entry index determines submodule, is suitable to the call number according to entry group to be represented and determines the call number of each entry in this entry group;
Entry data extracts submodule, is suitable to the call number according to each entry and extracts the data that each entry is corresponding.
3. system according to claim 1, wherein,
Described entry grouping module is further adapted for: by entry in the scroll list by vertical sequential packet, wherein, and every n entry is one group, and n is default entry number;
Described entry index determines that submodule is further adapted for: calculated the call number of each entry in this entry group by the call number of described default entry number He entry group to be represented.
4. the system according to any one of claims 1 to 3, wherein,
Described view calling module is further adapted for: creates the view container comprising many sub-views, calls the view container of establishment;
Or,
Described view calling module is further adapted for: call the view container comprising many sub-views discharged.
5. the method representing the scroll list, described method includes:
Entry in the scroll list being grouped, obtain at least one entry group, each entry group includes multiple entry;
Positional information according to input determines entry group to be represented, and obtains the data that in entry group to be represented, each entry is corresponding;
Call the view container comprising many sub-views, the plurality of sub-view and entry one_to_one corresponding in entry group to be represented, the data of each entry in entry group to be represented are loaded in corresponding sub-view;
By the sub-view in entry group correspondence format alignment view container to be represented, represent the view container after arrangement, entry in the scroll list is represented by multiple format;
Wherein, the described sub-view that the data of each entry in entry group to be represented load correspondence farther includes:
By sub-view corresponding for the data input of each entry in entry group to be represented;
In sub-view, the data according to input arrange and arrange the view elements of described entry, the quantity of property settings view elements according to data and layout inside every individual sub-view.
6. method according to claim 5, wherein, the positional information of described input is the call number of entry group to be represented,
Described obtain the data that in entry group to be represented, each entry is corresponding and farther include:
Call number according to entry group to be represented determines the call number of each entry in this entry group;
Call number according to each entry extracts the data that each entry is corresponding.
7. method according to claim 5, wherein,
Described entry in the scroll list packet farther includes:
By the entry in the scroll list by vertical sequential packet, wherein, every n entry is one group, and n is default entry number;
The call number of the entry group that described basis is to be represented determines that in this entry group, the call number of each entry farther includes:
The call number of each entry in this entry group is calculated by the call number of described default entry number He entry group to be represented.
8. the method according to any one of claim 5 to 7, wherein,
The described view container comprising many sub-views that calls farther includes:
Create the view container comprising many sub-views, call the view container of establishment;
Or,
Call the view container comprising many sub-views discharged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210430040.0A CN102982086B (en) | 2012-10-31 | 2012-10-31 | A kind of system and method representing the scroll list |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210430040.0A CN102982086B (en) | 2012-10-31 | 2012-10-31 | A kind of system and method representing the scroll list |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102982086A CN102982086A (en) | 2013-03-20 |
CN102982086B true CN102982086B (en) | 2016-07-20 |
Family
ID=47856106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210430040.0A Active CN102982086B (en) | 2012-10-31 | 2012-10-31 | A kind of system and method representing the scroll list |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102982086B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106874326A (en) * | 2016-07-05 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of item list obtains request processing method and device |
CN107783832A (en) * | 2016-08-25 | 2018-03-09 | 平安科技(深圳)有限公司 | A kind of view controller method of controlling security and terminal |
CN111782994B (en) * | 2019-09-30 | 2024-04-05 | 北京京东尚科信息技术有限公司 | Method and device for circularly displaying information based on view control |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787564A (en) * | 2004-12-06 | 2006-06-14 | 乐金电子(中国)研究开发中心有限公司 | Set quick number dialing method for mobile communication terminal |
TW201120731A (en) * | 2009-12-07 | 2011-06-16 | Htc Corp | Method, electronic device and computer program product for controlling list scroll |
CN102104510A (en) * | 2011-03-01 | 2011-06-22 | 北京中创信测科技股份有限公司 | Data view processing method and system |
CN102929631A (en) * | 2012-10-31 | 2013-02-13 | 北京奇虎科技有限公司 | System and method for scrolling list display |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101726606B1 (en) * | 2010-11-18 | 2017-04-13 | 삼성전자주식회사 | Method and apparatus for displaying information of mobile terminal |
-
2012
- 2012-10-31 CN CN201210430040.0A patent/CN102982086B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787564A (en) * | 2004-12-06 | 2006-06-14 | 乐金电子(中国)研究开发中心有限公司 | Set quick number dialing method for mobile communication terminal |
TW201120731A (en) * | 2009-12-07 | 2011-06-16 | Htc Corp | Method, electronic device and computer program product for controlling list scroll |
CN102104510A (en) * | 2011-03-01 | 2011-06-22 | 北京中创信测科技股份有限公司 | Data view processing method and system |
CN102929631A (en) * | 2012-10-31 | 2013-02-13 | 北京奇虎科技有限公司 | System and method for scrolling list display |
Non-Patent Citations (1)
Title |
---|
android ListView详解;阿标;《http://blog.csdn.net/huangbiao86/article/details/6668351》;20110808;1-10 * |
Also Published As
Publication number | Publication date |
---|---|
CN102982086A (en) | 2013-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102929631B (en) | The scroll list represents system and method | |
CN102982086B (en) | A kind of system and method representing the scroll list | |
CN104598107A (en) | Generating method and system of interface control | |
EP2570917A1 (en) | Method and device for adding menu items in android menu | |
CN103064886A (en) | Method for supporting multiple browsers and plug-in | |
CN103345885A (en) | Method and device for configuring box wiring and method for configuring split-joint-type display screen | |
CN103927190A (en) | Network expression downloading method and device | |
CN104281601A (en) | Method and device for constructing huge character library and method and device for displaying characters | |
CN103034404A (en) | Method and system for displaying backlogs | |
CN102883059A (en) | Short message displaying method and device, and short message replying method and device | |
CN105407138A (en) | Configuration file loading method and apparatus, and communication equipment | |
CN105094779A (en) | Page design method | |
CN105913214A (en) | Waybill generation method used for express delivery cabinet, waybill generation system and the express delivery cabinet | |
CN104375866A (en) | Single board driving updating method and device | |
CN106547585A (en) | A kind of method and apparatus of guiding customer upgrade application program | |
CN102073983B (en) | Method and device for optimization processing of PNG (portable network graphic) image resources | |
CN106068494B (en) | A kind of adaptation method and electronic equipment of DPI | |
CN101616498A (en) | A kind of method, Subscriber Identity Module and unit that carries out interactive information access | |
CN103020071A (en) | Data synchronization method and data synchronization device | |
CN104899338A (en) | Method for pushing APP in search promotion result, device and browser | |
CN103218350A (en) | Electronic device used for changing file name and method for changing file name | |
CN109634492A (en) | Combobox designated value input method, device and computer readable storage medium | |
CN112465418A (en) | Material loading method and device based on product life cycle management | |
CN104657100A (en) | Information processing method and electronic equipment | |
CN105187633A (en) | Mobile phone number display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220713 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |