CN107219983A - List display method and device - Google Patents
List display method and device Download PDFInfo
- Publication number
- CN107219983A CN107219983A CN201710467903.4A CN201710467903A CN107219983A CN 107219983 A CN107219983 A CN 107219983A CN 201710467903 A CN201710467903 A CN 201710467903A CN 107219983 A CN107219983 A CN 107219983A
- Authority
- CN
- China
- Prior art keywords
- view
- list
- layer
- rolling
- cell
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the present invention provides a kind of list display method and device.This method and device are applied to user terminal, and the user terminal is provided with SDK, and the SDK includes including multiple cell figure layers on List View and rolling view corresponding with the List View, the List View.This method includes:The rolling event on view response user terminal is rolled, is rolled according to rolling event correspondence;List View obtains the view boundary information for rolling view in rolling process;Cell layer position on List View is updated according to the view boundary information;Cell figure layer after renewal is shown.The technical scheme that the present invention is provided can make the list of SDK realize there is more superior performance, reduce Caton phenomenon of the list in rolling process, realize more preferable interactive experience.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of list display method and device.
Background technology
In OSX operating systems, apple provides a set of SDK (SDK) for developer and existed for developer
Software development on Mac computers, provides the realization side of a set of system list based on view (View) in SDK AppKit
Method, the list that developer only need to can create corresponding demand according to the realization of list on exploitation document is used to develop.
However, obvious interim card often occurs in system list during rolling at present, even if entering to service logic
Row optimization, list performance can not also be lifted.In view of the above-mentioned problems, at present being optimized from operation level mostly, control is still
The list control that the apple so used is provided.Because the SDK codes that apple is provided close source, developer can not get interface
Code is realized, also can not just be optimized from bottom layer realization.
The content of the invention
In order to overcome above-mentioned deficiency of the prior art, it is an object of the invention to provide a kind of list display method and dress
Put, the list of SDK can be made to realize that there is more superior performance, card of the list in rolling process is reduced
Phenomenon, realizes more preferable interactive experience.
To achieve these goals, the technical scheme that present pre-ferred embodiments are used is as follows:
Present pre-ferred embodiments provide a kind of list display method, applied to user terminal, and the user terminal is installed
There is SDK, the SDK includes List View and rolling corresponding with the List View is regarded
Include multiple cell figure layers on figure, the List View.Methods described includes:
The rolling event rolled on view response user terminal, is rolled according to rolling event correspondence;
The List View obtains the view boundary information for rolling view in rolling process;
Cell layer position on the List View is updated according to the view boundary information;
Cell figure layer after renewal is shown.
In present pre-ferred embodiments, methods described also includes:
The List View is configured, list figure layer is added on the List View, and configured in the list figure layer
Cell figure layer;
Configuration rolls view, rolling view is covered on the List View, and the rolling view is used to respond user
Rolling event in terminal.
In present pre-ferred embodiments, the unit updated according to the view boundary information on the List View
The step of lattice layer position, including:
The cell figure layer for removing the List View scope is destroyed, the list of the List View scope is will move into
First trrellis diagram layer is created, and the cell figure layer for not moving out the List View scope is retained.
In present pre-ferred embodiments, the step of cell figure layer by after renewal is shown, in addition to:
Animation is rolled according to the displaying of the update status of position of the cell figure layer on the List View.
In present pre-ferred embodiments, methods described also includes:
The request to create of base map layers class is responded, multiple base map layers classes are created, the base map layers class is used for covering pair
The cell figure layer answered, wherein, the base map layers Similar integral is used to enter click event in system figure layer, the system figure layer
Row response and click event are transmitted.
In present pre-ferred embodiments, methods described also includes:
The base map layers detect the click event on the List View;
During click event on the List View is detected, the click event is performed, and by the click event
Father's figure layer is passed to, so that father's figure layer is fed back according to the click event.
Present pre-ferred embodiments provide a kind of list display device, applied to user terminal, and the user terminal is installed
There is SDK, the SDK includes List View and rolling corresponding with the List View is regarded
Include multiple cell figure layers on figure, the List View.Described device includes:
Scrolling module, for the rolling event on the rolling view response user terminal, according to the rolling event pair
It should be rolled;
Acquisition module, the view boundary information for rolling view in rolling process is obtained for the List View;
Update module, for updating the cell layer position on the List View according to the view boundary information;
Display module, for the cell figure layer after renewal to be shown.
In terms of existing technologies, the invention has the advantages that:
List display method and device provided in an embodiment of the present invention, this method include:Roll view response user terminal
On rolling event, according to the rolling event correspondence rolled;List View obtains the rolling view in rolling process
In view boundary information;Cell layer position on List View is updated according to the view boundary information;After updating
Cell figure layer shown.Based on above-mentioned design, the present invention can make the list of SDK realize have more
Superior performance, reduces Caton phenomenon of the list in rolling process, realizes more preferable interactive experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
The block diagram for the user terminal that Fig. 1 provides for present pre-ferred embodiments;
A kind of schematic flow sheet for the list display method that Fig. 2 provides for present pre-ferred embodiments;
Another schematic flow sheet for the list display method that Fig. 3 provides for present pre-ferred embodiments;
Another schematic flow sheet for the list display method that Fig. 4 provides for present pre-ferred embodiments;
A kind of functional block diagram for the list display device that Fig. 5 provides for present pre-ferred embodiments;
Another functional block diagram for the list display device that Fig. 6 provides for present pre-ferred embodiments;
Another functional block diagram for the list display device that Fig. 7 provides for present pre-ferred embodiments.
Icon:100- user terminals;110- memories;120- processors;130- communication units;140- storage controls;
150- display units;200- list display devices;The configuration modules of 201- first;The configuration modules of 202- second;210- scrolling modules;
220- acquisition modules;230- update modules;240- display modules;250- creation modules;260- detection modules;270- performs mould
Block.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Generally herein
The component of the embodiment of the present invention described and illustrated in place's accompanying drawing can be arranged and designed with a variety of configurations.
Therefore, the detailed description of embodiments of the invention below to providing in the accompanying drawings is not intended to limit claimed
The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiment in the present invention, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, belongs to the model that the present invention is protected
Enclose.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Below in conjunction with the accompanying drawings, some embodiments of the present invention are elaborated.It is following in the case where not conflicting
Feature in embodiment and embodiment can be mutually combined.
Referring to Fig. 1, the block diagram of the user terminal 100 provided for present pre-ferred embodiments.The present invention is implemented
In example, SDK (Software Development Kit, SDK) is installed on the user terminal 100, it is described
SDK can be used for developer to be opening when specific software kit, software frame, hardware platform, operating system etc. set up application software
Hair instrument.
In the present embodiment, the user terminal 100 may be, but not limited to, PC (Personal Computer,
PC), notebook computer, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA), mobile Internet access
Equipment (Mobile Internet Device, MID) etc..Preferably, in the present embodiment, the operation of the user terminal 100
System is OSX systems.
As shown in figure 1, the user terminal 100 can include memory 110, processor 120, communication unit 130, storage
Controller 140 and display unit 150.The memory 110, processor 120, communication unit 130, storage control 140 with
And display unit 150 is directly or indirectly electrically connected with each other, to realize the transmission or interaction of data.For example, these yuan
Part can be realized by one or more communication bus or signal wire be electrically connected with each other.Be stored with list in memory 110
Display device 200, the list display device 200, which includes at least one, to be stored in the form of software or firmware (Firmware)
Software function module in the memory 110, the processor 120 is stored in the software in memory 110 by operation
List display device 200 in program and module, such as embodiment of the present invention, so as to perform at various function application and data
Reason, that is, realize the list display method in the embodiment of the present invention.
Wherein, the memory 110 may include high speed random access memory, may also include nonvolatile memory, such as one
Or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.In some instances, memory 110 can
Further comprise the remote memory remotely located relative to processor 120, these remote memories can pass through network connection
To the user terminal 100.The example of above-mentioned network can include but is not limited to internet, intranet, LAN, movement
Communication network and combinations thereof.Wherein, memory 110 is used for storage program, and the processor 120 is held after execute instruction is received
Row described program.Further, various input/output devices are coupled to processor 120 and memory by communication unit 130
110, software program and module in above-mentioned memory 110 may also include operating system, and it may include various to be used to manage system
The component software of system task (such as memory management, storage device control, power management) and/or driving, and can with it is various hard
Part or component software are mutually communicated, so as to provide the running environment of other software component.
The processor 120 can be a kind of IC chip, the disposal ability with signal.Above-mentioned processor
120 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc..It can also be digital signal processor (DSP), application specific integrated circuit (ASIC), scene
Programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware group
Part.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with
It is microprocessor or the processor 120 can also be any conventional processor etc..
The display unit 150 can offer one be defeated simultaneously between the user terminal 100 and user (developer)
Go out and inputting interface.Specifically, the display unit 150 shows that video or image are exported to user, these video frequency outputs
Content may include word, figure, video and its any combination.Some output results correspond to some user interface objects.This
Outside, the display unit 150 can also receive the input of user, gesture operation the click, slip such as user, so as to user
Input of the interface object to these users is responded.Detection user input technology can be based on resistance-type, condenser type or
Other any possible touch control detection technologies of person.Alternatively, the instantiation of the display unit 150 can include but not limit
In liquid crystal display or light emitting polymer displays.
It is appreciated that the structure shown in Fig. 1 be only signal, the user terminal 100 can also include than shown in Fig. 1 more
Many either less components or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can be using hardware, soft
Part or its combination are realized.
The list control that the SDK (SDK) that apple is provided is provided mainly is responsible for bitmap and rendered in design,
And view control is the encapsulation on the basis of figure layer, view layer can be used for responding such as click, gesture event.In addition, complicated
View (such as system list) it is internal redraw strategy if management is realized by system.System list is rolled at (or downward) upwards
When, the element tested through inventor on the cell (Cell) found in each view is being repainted, but actual
The content of the most of cell of upper visibility region does not change, actually only needs to redraw the new cell of entrance i.e.
Can.But, due to being that the list of system is realized, this strategy that redraws is uncontrollable in developer's aspect, so as to cause
Table data is especially more, and in the case that the List View level of display data is especially complex, system list is during rolling
Obvious interim card occurs, even if developer optimizes to service logic, list performance can not also be lifted, and thus illustrate system
The list of offer is realized, also has bottleneck in aspect of performance.
Referring to Fig. 2, a kind of schematic flow sheet of the list display method provided for present pre-ferred embodiments, the side
Method is performed by the user terminal 100 shown in Fig. 1.It should be noted that, method provided in an embodiment of the present invention not with Fig. 2 and with
Lower described particular order is limitation.The idiographic flow of methods described is as follows:
Step S210, rolls the rolling event on view response user terminal 100, is carried out according to rolling event correspondence
Roll.
In the present embodiment, the SDK (SDK) may include List View and with the List View pair
Include multiple cell figure layers on the rolling view answered, the List View, each cell figure layer is that the correspondence user is whole
Each list items in the list of the display of end 100.
In the present embodiment, the rolling event can be rolling event that scroll wheel on mouse occurs or
Touch of the user on the user terminal 100 is slided to be not specifically limited in the rolling event occurred, the present embodiment to this.
The view (ScrollView) that rolls can be used for detecting the rolling event on the user terminal 100, in detection
During to the event of rolling, rolled according to rolling event correspondence.By taking mouse as an example, when the scroll wheel of mouse scrolls up,
The rolling view can detect the rolling event scrolled up, so as to be rolled upwards according to rolling event correspondence.
Step S220, List View obtains the view boundary information for rolling view in rolling process.
Step S230, the cell layer position on the List View is updated according to the view boundary information.
Step S240, the cell figure layer after renewal is shown.
In the present embodiment, List View (TableView) observation rolls view in rolling process in the user
The situation of change on the border (bounds) in terminal 100.In detail, it is first when rolling view processing rolling event correspondence rolling
First, List View (TableView) observes the change on border, obtains and rolls the real-time boundary information of view.Then, according to side
Cell layer position described in boundary's information updating on List View, specifically, will remove the unit of the List View scope
Trrellis diagram layer is destroyed, and the cell figure layer that will move into the List View scope is created, and will not moved out the list and be regarded
The cell figure layer of figure scope is retained, in this process, can also be regarded according to the cell figure layer in the list
The update status displaying of position on figure is corresponding to roll animation, brings user and more smoothly rolls experience.
In detail, below by taking list upward sliding as an example, the renewal process to the cell layer position is carried out briefly
Explanation.
First, the List View removes List View model when observing that the rolling view scrolls up to top
The cell figure layer enclosed is destroyed, and the cell figure layer that lower section moves into list is created, and set corresponding display number
According to;The cell figure layer not removed in list sliding process from top is retained.
It is readily appreciated that, in other embodiments, the list can also be slided in other directions, for example, the list is also
Can be with slide downward, or slide to the left, slide to the right etc., the present invention is not specifically limited.It is also to be noted that term
" on ", " under ", "left", "right" etc. are for only for ease of the description present invention and simplify description, rather than indicate or imply the row
The glide direction of table is had specific orientation, slided with specific orientation, therefore is not considered as limiting the invention.
In practical application, because the list realization of most of OSX system softwares is all the primary control of system of use, and
Apple system closes source characteristic due to it, and developer may not carry out bottom optimization to it.And based on above-mentioned design, the present invention can be with
List optimization is set to be provided with feasibility so that list performance in sliding process is more superior, reduces Caton phenomenon;Secondly,
The institute that the present invention realizes system list is functional and interactive, the uniformity of function and experience is maintained to user so that user
Imperceptible any difference, improves the interactive experience of user.
Further, referring to Fig. 3, before the step S210, methods described can also include:
Step S201, configures the List View, and list figure layer is added on the List View, and in the list figure
Dispensing unit trrellis diagram layer on layer.
Step S202, configuration rolls view, rolling view is covered on the List View.
In the present embodiment, by adding list figure layer (TableLayer) on List View, then in list figure layer
(TableLayer) adding device trrellis diagram layer on, and the rolling view for being covered in the List View is created simultaneously
(ScrollView), the rolling view ScrollView) it is used to respond the rolling event on user terminal 100.Wherein, as
It is preferred that, the rolling view (ScrollView) is identical with the List View size.
In the present embodiment, view (View) control of system is realized to be passed to the event in event response and multilevel viewing
Pass.But system figure layer (CALayer) control is only responsible for bitmap and rendered in itself, itself can't accept mouse click
(MouseDown, MouseUp) event.If having the demand that button is responded on the corresponding cell of cell figure layer, then system
Figure layer can not then meet requirement.
In order to solve the above problems, further, referring to Fig. 4, in the present embodiment, methods described can also include:
Step S250, responds the request to create of base map layers class, creates multiple base map layers classes.
In the present embodiment, the base map layers class (BaseLayer) is used to cover corresponding cell figure layer.Wherein, institute
State base map layers class (BaseLayer) to inherit in system figure layer (CALayer), the system figure layer (CALayer) is used for point
Hit that (MouseDown, MouseUp) event is responded and click event is transmitted, thus inherit in system figure layer
(CALayer) all base map layers classes (BaseLayer) can be used for entering to clicking on (MouseDown, MouseUp) event
Row response and click event are transmitted.
Referring to Fig. 4, in actual implementation process, methods described can also include:
Step S260, the base map layers detect the click event on the List View.
When step S270, click event on the List View is detected, the click event is performed, and will be described
Click event passes to father's figure layer.
In the present embodiment, when the base map layers detect the click event on the List View list, institute can be called
The corresponding click event of click response method (MouseDown) processing that the mouse created in system figure layer is clicked on is stated, then, will
Click event passes to corresponding father's figure layer (SuperLayer), by calling the click created in father's figure layer (MouseDown)
Response method, feeds back so that father's figure layer carries out corresponding click on according to the click event.
Further, referring to Fig. 5, present pre-ferred embodiments also provide a kind of list display device 200, described device
It is installed in the memory 110 and may include one or more software function modules performed by the processor 120.It is described
List display device 200 can include:
Scrolling module 210, for the rolling event on the rolling view response user terminal 100, is rolled according to described
Event correspondence is rolled.
Acquisition module 220, the view border letter for rolling view in rolling process is obtained for the List View
Breath.
Update module 230, for updating the cell figure layer position on the List View according to the view boundary information
Put.
Display module 240, for the cell figure layer after renewal to be shown.
Further, referring to Fig. 6, described device can also include:
First configuration module 201, for configuring the List View, adds list figure layer on the List View, and
The dispensing unit trrellis diagram layer in the list figure layer.
Second configuration module 202, rolls view for configuring, rolling view is covered on the List View, described
Rolling view is used to respond the rolling event on user terminal 100.
Further, referring to Fig. 7, described device can also include:
Creation module 250, the request to create for responding base map layers class creates multiple base map layers classes.
The base map layers class is used to cover corresponding cell figure layer.Wherein, the base map layers Similar integral is in system
Figure layer, the system figure layer is used to respond click event and click event is transmitted.
Detection module 260, the click event on the List View is detected for the base map layers.
Performing module 270, during for click event on the List View is detected, performs the click event,
And the click event is passed into father's figure layer, so that father's figure layer is fed back according to the click event.
The concrete operation method of each functional module in the present embodiment can refer to corresponding steps in above method embodiment
It is described in detail, it is no longer repeated herein.
In summary, list display method and device provided in an embodiment of the present invention, this method include:Roll view response
Rolling event on user terminal 100, is rolled according to rolling event correspondence;List View obtains the rolling view
View boundary information in rolling process;The cell figure layer position on List View is updated according to the view boundary information
Put;Cell figure layer after renewal is shown.Based on above-mentioned design, the present invention can make the list of SDK
Realizing has more superior performance, reduces Caton phenomenon of the list in rolling process, realizes more preferable interactive experience.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, it can also pass through
Other modes are realized.Apparatus and method embodiment described above is only schematical, for example, the flow chart in accompanying drawing
System, the system in the cards of method and computer program product of multiple embodiments according to the present invention are shown with block diagram
Framework, function and operation.At this point, each square frame in flow chart or block diagram can represent a module, program segment or generation
A part for code a, part for the module, program segment or code is used to realize defined logic function comprising one or more
Executable instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also be with
Occur different from the order marked in accompanying drawing.For example, two continuous square frames can essentially be performed substantially in parallel, they
Sometimes it can also perform in the opposite order, this is depending on involved function.It is also noted that block diagram and/or flow chart
In each square frame and the square frame in block diagram and/or flow chart combination, can be with function or action as defined in performing it is special
Hardware based system is realized, or can be realized with the combination of specialized hardware and computer instruction.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computing device (can be personal
Computer, electronic equipment, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
It should be noted that herein, term " including ", " including " or its any other variant are intended to non-row
His property is included, so that process, method, article or equipment including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or equipment institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence " including one ... ", it is not excluded that including institute
Also there is other identical element in process, method, article or the equipment of stating key element.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as to the claim involved by limitation.
Claims (10)
1. a kind of list display method, applied to user terminal, it is characterised in that the user terminal is provided with software development work
Tool bag, the SDK includes List View and rolling view corresponding with the List View, the list
Include multiple cell figure layers on view, methods described includes:
The rolling event rolled on view response user terminal, is rolled according to rolling event correspondence;
The List View obtains the view boundary information for rolling view in rolling process;
Cell layer position on the List View is updated according to the view boundary information;
Cell figure layer after renewal is shown.
2. list display method according to claim 1, it is characterised in that methods described also includes:
The List View is configured, list figure layer, and the dispensing unit in the list figure layer are added on the List View
Trrellis diagram layer;
Configuration rolls view, rolling view is covered on the List View, and the rolling view is used to respond user terminal
On rolling event.
3. list display method according to claim 1, it is characterised in that described to be updated according to the view boundary information
The step of cell layer position on the List View, including:
The cell figure layer for removing the List View scope is destroyed, the cell of the List View scope is will move into
Figure layer is created, and the cell figure layer for not moving out the List View scope is retained.
4. list display method according to claim 3, it is characterised in that the cell figure layer by after renewal is carried out
The step of display, in addition to:
Animation is rolled according to the displaying of the update status of position of the cell figure layer on the List View.
5. list display method according to claim 1, it is characterised in that methods described also includes:
The request to create of base map layers class is responded, multiple base map layers classes are created, the base map layers class is used to cover corresponding
Cell figure layer, wherein, the base map layers Similar integral is in system figure layer, and the system figure layer is used to ring click event
It should be transmitted with click event.
6. list display method according to claim 5, it is characterised in that methods described also includes:
The base map layers detect the click event on the List View;
During click event on the List View is detected, the click event is performed, and the click event is transmitted
Father's figure layer is given, so that father's figure layer is fed back according to the click event.
7. a kind of list display device, applied to user terminal, it is characterised in that the user terminal is provided with software development work
Tool bag, the SDK includes List View and rolling view corresponding with the List View, the list
Include multiple cell figure layers on view, described device includes:
Scrolling module, for the rolling event on the rolling view response user terminal, enters according to rolling event correspondence
Row is rolled;
Acquisition module, the view boundary information for rolling view in rolling process is obtained for the List View;
Update module, for updating the cell layer position on the List View according to the view boundary information;
Display module, for the cell figure layer after renewal to be shown.
8. list display device according to claim 7, it is characterised in that described device also includes:
First configuration module, for configuring the List View, adds list figure layer on the List View, and in the row
Dispensing unit trrellis diagram layer in table figure layer;
Second configuration module, rolls view for configuring, rolling view is covered on the List View, the rolling view
For responding the rolling event on user terminal.
9. list display device according to claim 7, it is characterised in that described device also includes:
Creation module, the request to create for responding base map layers class creates multiple base map layers classes, and the base map layers class is used
In the corresponding cell figure layer of covering, wherein, the base map layers Similar integral is used for point in system figure layer, the system figure layer
The event of hitting is responded and click event is transmitted.
10. list display device according to claim 9, it is characterised in that described device also includes:
Detection module, the click event on the List View is detected for the base map layers;
Performing module, during for click event on the List View is detected, performs the click event, and will be described
Click event passes to father's figure layer, so that father's figure layer is fed back according to the click event.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710467903.4A CN107219983B (en) | 2017-06-20 | 2017-06-20 | List display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710467903.4A CN107219983B (en) | 2017-06-20 | 2017-06-20 | List display method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107219983A true CN107219983A (en) | 2017-09-29 |
CN107219983B CN107219983B (en) | 2020-07-31 |
Family
ID=59949915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710467903.4A Active CN107219983B (en) | 2017-06-20 | 2017-06-20 | List display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107219983B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977150A (en) * | 2017-10-31 | 2018-05-01 | 阿里巴巴集团控股有限公司 | A kind of view scrolling method, device and electronic equipment |
CN108563477A (en) * | 2018-03-02 | 2018-09-21 | 北京奇艺世纪科技有限公司 | A kind of page events response method and device |
CN109992188A (en) * | 2018-01-02 | 2019-07-09 | 武汉斗鱼网络科技有限公司 | The implementation method and device of a kind of mobile terminal iOS text scrolling display |
CN110658969A (en) * | 2019-10-08 | 2020-01-07 | 广州市百果园信息技术有限公司 | Picture processing method, device, equipment and storage medium |
CN110716684A (en) * | 2019-10-10 | 2020-01-21 | 北京无限光场科技有限公司 | User interface display method and device, electronic equipment and machine-readable storage medium |
CN111898049A (en) * | 2020-06-16 | 2020-11-06 | 广州市玄武无线科技股份有限公司 | Table implementation method and device, computer terminal equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012112356A2 (en) * | 2011-02-17 | 2012-08-23 | Surfwax, Inc. | User interfaces for navigating structured content |
CN103902197A (en) * | 2012-12-28 | 2014-07-02 | 北京新媒传信科技有限公司 | Method and device for displaying data based on list displaying in Android system |
CN104035718A (en) * | 2009-03-16 | 2014-09-10 | 苹果公司 | Event Recognition |
CN105677366A (en) * | 2016-02-26 | 2016-06-15 | 四川长虹电器股份有限公司 | Method for achieving infinite circulating rolling selection based on UITableView in iOS |
-
2017
- 2017-06-20 CN CN201710467903.4A patent/CN107219983B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035718A (en) * | 2009-03-16 | 2014-09-10 | 苹果公司 | Event Recognition |
WO2012112356A2 (en) * | 2011-02-17 | 2012-08-23 | Surfwax, Inc. | User interfaces for navigating structured content |
CN103902197A (en) * | 2012-12-28 | 2014-07-02 | 北京新媒传信科技有限公司 | Method and device for displaying data based on list displaying in Android system |
CN105677366A (en) * | 2016-02-26 | 2016-06-15 | 四川长虹电器股份有限公司 | Method for achieving infinite circulating rolling selection based on UITableView in iOS |
Non-Patent Citations (1)
Title |
---|
JIWANGBUJIU: "IOS开发中UITableView(表视图)的滚动优化及自定义Cell", 《博客园(HTTPS://WWW.CNBLOGS.COM/JIWANGBUJIU/P/5395875.HTML)》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977150A (en) * | 2017-10-31 | 2018-05-01 | 阿里巴巴集团控股有限公司 | A kind of view scrolling method, device and electronic equipment |
WO2019085580A1 (en) * | 2017-10-31 | 2019-05-09 | 阿里巴巴集团控股有限公司 | View scrolling method and apparatus, and electronic device |
CN109992188A (en) * | 2018-01-02 | 2019-07-09 | 武汉斗鱼网络科技有限公司 | The implementation method and device of a kind of mobile terminal iOS text scrolling display |
CN109992188B (en) * | 2018-01-02 | 2021-02-02 | 武汉斗鱼网络科技有限公司 | Method and device for realizing scrolling display of iOS mobile terminal text |
CN108563477A (en) * | 2018-03-02 | 2018-09-21 | 北京奇艺世纪科技有限公司 | A kind of page events response method and device |
CN108563477B (en) * | 2018-03-02 | 2022-04-26 | 北京奇艺世纪科技有限公司 | Page event response method and device |
CN110658969A (en) * | 2019-10-08 | 2020-01-07 | 广州市百果园信息技术有限公司 | Picture processing method, device, equipment and storage medium |
CN110658969B (en) * | 2019-10-08 | 2024-01-09 | 广州市百果园信息技术有限公司 | Picture processing method, device, equipment and storage medium |
CN110716684A (en) * | 2019-10-10 | 2020-01-21 | 北京无限光场科技有限公司 | User interface display method and device, electronic equipment and machine-readable storage medium |
CN110716684B (en) * | 2019-10-10 | 2021-01-15 | 北京无限光场科技有限公司 | User interface display method and device, electronic equipment and machine-readable storage medium |
CN111898049A (en) * | 2020-06-16 | 2020-11-06 | 广州市玄武无线科技股份有限公司 | Table implementation method and device, computer terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107219983B (en) | 2020-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107219983A (en) | List display method and device | |
CN104106033B (en) | The thumbnail image selection of application | |
CN104025003B (en) | Translate animation | |
CN102063253B (en) | Method of managing parallel open software applications and relevant device | |
TWI622941B (en) | Mobile device, method of predicting a user behavior and non-transient computer readable storage medium | |
CN108920038A (en) | It is orthogonal dilatory on scroll bar | |
US11126327B2 (en) | Interactive data visualization user interface with gesture-based data field selection | |
KR101952171B1 (en) | Electronic device and method for displaying web history thereof | |
CN111831182B (en) | Application icon control method and device and electronic equipment | |
CN102272701A (en) | Method, apparatus and computer program product for providing a personalizable user interface | |
CN109753326A (en) | Processing method, device, equipment and machine readable media | |
US9292189B2 (en) | Techniques to display location-based information | |
CN107408100A (en) | Sight is used for automatic page turning | |
JP6640893B2 (en) | Method and apparatus for inputting characters | |
CN109753196A (en) | Processing method, device, equipment and machine readable media | |
CN113641638A (en) | Application management method and device, electronic equipment and storage medium | |
CN110069188A (en) | Identification display method and terminal device | |
CN112783594A (en) | Message display method and device and electronic equipment | |
CN101251993B (en) | Method and device for supervising multiple screens | |
CN112783408A (en) | Gesture navigation method and device of electronic equipment, equipment and readable storage medium | |
CN113268182B (en) | Application icon management method and electronic device | |
CN113311973A (en) | Recommendation method and device | |
CN109753214A (en) | Processing method, device, equipment and machine readable media | |
CN114415888B (en) | Page control method, device, equipment and storage medium | |
CN113342222B (en) | Application classification method and device and electronic equipment |
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 |