CN109542304B - Display content loading method, device, equipment and storage medium - Google Patents

Display content loading method, device, equipment and storage medium Download PDF

Info

Publication number
CN109542304B
CN109542304B CN201811401665.8A CN201811401665A CN109542304B CN 109542304 B CN109542304 B CN 109542304B CN 201811401665 A CN201811401665 A CN 201811401665A CN 109542304 B CN109542304 B CN 109542304B
Authority
CN
China
Prior art keywords
control
scroll
screen
scrolling
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811401665.8A
Other languages
Chinese (zh)
Other versions
CN109542304A (en
Inventor
邹建锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811401665.8A priority Critical patent/CN109542304B/en
Publication of CN109542304A publication Critical patent/CN109542304A/en
Application granted granted Critical
Publication of CN109542304B publication Critical patent/CN109542304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range

Abstract

The embodiment of the disclosure discloses a loading method, a loading device, equipment and a storage medium of display content. The method comprises the following steps: when the transverse sliding operation aiming at the screen is detected, the screen sliding direction corresponding to the transverse sliding operation is obtained; according to the screen sliding direction, performing horizontal scrolling operation on a scrolling view control to change the view currently displayed in the screen, wherein at least three views are arranged in the scrolling view control, and before the horizontal scrolling operation is performed, displaying the display content of the middle view in the scrolling view control in the screen; and determining whether the view displayed in the screen is an edge view in the scroll view control after the transverse scroll operation is finished, if so, updating the position of each view in the scroll view control according to the screen sliding direction, and loading the display content of the next view in the screen sliding direction. Through the technical scheme of this disclosure, the problem that the slip card is pause when can solving the horizontal slip screen, guarantees gliding smoothness nature.

Description

Display content loading method, device, equipment and storage medium
Technical Field
The present disclosure relates to computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for loading display content.
Background
In modern society, an intelligent terminal is one of indispensable electronic products in people's lives, and people's lives are influenced more and more deeply. Moreover, the application software in the intelligent terminal is endless, and therefore, the user also puts higher demands on the experience effects of the application software in various aspects.
Generally, after entering the APP, the user may perform a sliding operation on the screen to update the display content, where the sliding direction includes up-down sliding, i.e., vertical sliding, and left-right sliding, i.e., horizontal sliding. For example, when the screen is slid vertically, the latest dynamic information flow of the current user can be viewed, and the information flow of different users can be viewed by switching to slide horizontally.
In the prior art, when a user slides the screen transversely, the user needs to load the content of the next screen, so that the sliding is blocked.
Disclosure of Invention
The embodiment of the disclosure provides a loading method, a loading device, display equipment and a storage medium for display contents, so as to solve the problem of unsmooth sliding when a screen slides transversely and ensure the smoothness of sliding.
In a first aspect, an embodiment of the present disclosure provides a method for loading display content, including:
when the transverse sliding operation aiming at the screen is detected, the screen sliding direction corresponding to the transverse sliding operation is obtained;
according to the screen sliding direction, performing a horizontal scrolling operation on a scrolling view control to change a currently displayed view in a screen, wherein the scrolling view control is provided with at least three views, each view is pre-loaded with corresponding display content, and before the horizontal scrolling operation is performed, the display content of a middle view in the scrolling view control is displayed in the screen;
and determining whether the view displayed in the screen is an edge view in the scroll view control after the transverse scroll operation is finished, updating the position of each view in the scroll view control according to the screen sliding direction when the displayed view is determined to be the edge view, and loading the display content of the next view in the screen sliding direction.
In the foregoing solution, optionally, in the process of performing a horizontal scrolling operation on the scroll-view control, the method further includes:
updating the value of the view scrolling position parameter of the scrolling view control, wherein the initial value of the view scrolling position parameter is the position value corresponding to the intermediate view;
correspondingly, determining whether the view displayed in the screen after the horizontal scrolling operation is finished is an edge view in the scroll view control includes:
and determining whether the value of the view scrolling position parameter of the scroll view control is the position value corresponding to the edge view in the scroll view control after the transverse scrolling operation is finished, and if so, determining that the view displayed in the screen is the edge view in the scroll view control.
In the foregoing solution, optionally, three views are provided in the scroll view control; correspondingly, the position value corresponding to the edge view in the scroll view control is 0 or 2 times the view width.
In the foregoing solution, optionally, performing a horizontal scrolling operation on the scroll view control according to the screen sliding direction includes:
if the screen sliding direction is leftward sliding, performing leftward scrolling operation on the scroll view control;
correspondingly, updating the value of the view scrolling position parameter of the scrolling view control comprises:
adding a current value of a view scrolling position parameter of the scrolling view control to a scrolling distance value to obtain a sum value, and taking the sum value as a first position value;
and updating the value of the view rolling position parameter to the first position value.
In the foregoing solution, optionally, performing a horizontal scrolling operation on the scroll view control according to the screen sliding direction includes:
if the screen sliding direction is rightward sliding, performing rightward scrolling operation on the scroll view control;
correspondingly, updating the value of the view scrolling position parameter of the scrolling view control comprises:
a difference value obtained by subtracting the rolling distance value from the current value of the view rolling position parameter of the rolling view control is used as a second position value;
and updating the value of the view rolling position parameter to the second position value.
In the foregoing solution, optionally, the updating the positions of the views in the scroll view control according to the screen sliding direction includes:
if the screen slides leftwards, the positions of the views in the scroll view control are sequentially adjusted by one view width according to the clockwise direction;
and if the screen sliding direction is rightward sliding, sequentially adjusting the positions of the views in the scroll view control by one view width according to the counterclockwise direction.
In the foregoing solution, optionally, after updating the positions of the views in the scroll view control according to the screen sliding direction, the method further includes:
if the screen sliding direction is leftward sliding, updating the value of the view scrolling position parameter of the scrolling view control to be a difference value obtained by subtracting a view width from the current value;
and if the screen sliding direction is rightward sliding, updating the value of the view scrolling position parameter of the scroll view control to be a sum of the current value and one view width.
In a second aspect, an embodiment of the present disclosure further provides a loading device for displaying content, where the device includes:
the direction acquisition module is used for acquiring a screen sliding direction corresponding to a transverse sliding operation when the transverse sliding operation aiming at a screen is detected;
the scroll executing module is used for executing horizontal scroll operation on a scroll view control according to the screen sliding direction so as to change the current displayed view in the screen, wherein at least three views are arranged in the scroll view control, corresponding display content is pre-loaded in each view, and the display content of the middle view in the scroll view control is displayed in the screen before the horizontal scroll operation is executed;
and the view processing module is used for determining whether the view displayed in the screen is an edge view in the scroll view control after the transverse scroll operation is finished, updating the position of each view in the scroll view control according to the screen sliding direction when the displayed view is determined to be the edge view, and loading the display content of the next view in the screen sliding direction.
In the foregoing solution, optionally, the loading device for displaying content further includes:
the view value updating module is used for updating the value of a view scrolling position parameter of the scroll view control in the process of executing the transverse scrolling operation on the scroll view control, wherein the initial value of the view scrolling position parameter is the position value corresponding to the intermediate view;
correspondingly, the view processing module is specifically configured to:
and determining whether the value of the view scrolling position parameter of the scroll view control is the position value corresponding to the edge view in the scroll view control after the transverse scrolling operation is finished, and if so, determining that the view displayed in the screen is the edge view in the scroll view control.
In the foregoing solution, optionally, three views are provided in the scroll view control; correspondingly, the position value corresponding to the edge view in the scroll view control is 0 or 2 times the view width.
In the foregoing scheme, optionally, the scroll executing module is specifically configured to:
if the screen sliding direction is leftward sliding, performing leftward scrolling operation on the scroll view control;
correspondingly, the value updating module may be specifically configured to:
adding a current value of a view scrolling position parameter of the scrolling view control to a scrolling distance value to obtain a sum value, and taking the sum value as a first position value;
and updating the value of the view rolling position parameter to the first position value.
In the foregoing scheme, optionally, the scroll executing module is further specifically configured to:
if the screen sliding direction is rightward sliding, performing rightward scrolling operation on the scroll view control;
correspondingly, the value updating module may be further configured to:
a difference value obtained by subtracting the rolling distance value from the current value of the view rolling position parameter of the rolling view control is used as a second position value;
and updating the value of the view rolling position parameter to the second position value.
In the foregoing scheme, optionally, the view processing module is further specifically configured to:
if the screen slides leftwards, the positions of the views in the scroll view control are sequentially adjusted by one view width according to the clockwise direction;
and if the screen sliding direction is rightward sliding, sequentially adjusting the positions of the views in the scroll view control by one view width according to the counterclockwise direction.
In the foregoing solution, optionally, the loading device for displaying content further includes:
a difference value updating module, configured to update, after the positions of the views in the scroll view control are updated according to the screen sliding direction, if the screen sliding direction is leftward sliding, a value of a view scrolling position parameter of the scroll view control is updated to a difference value obtained by subtracting one view width from a current value;
and the value updating module is used for updating the value of the view scrolling position parameter of the scrolling view control to be a sum value obtained by adding one view width to the current value if the screen sliding direction is rightward sliding.
In a third aspect, an embodiment of the present disclosure further provides a terminal device, where the terminal device includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the loading method of the display content according to any one of the embodiments of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the loading method of the display content according to any one of the disclosed embodiments.
According to the method and the device, the screen sliding direction corresponding to the screen transverse sliding operation is obtained, the transverse rolling operation is executed on the rolling view control, so that the current displayed view in the screen is changed, when the situation that the transverse rolling operation is finished and the displayed view in the screen is the edge view in the rolling view control is determined, the position of each view in the rolling view control is updated according to the screen sliding direction, and the display content of the next view in the screen sliding direction is loaded, so that the display content of the next screen is loaded when the situation that the view displayed in the current screen is the edge view is determined, the problem that the screen is blocked when the screen is transversely slid due to the fact that the mode that the display content of the next screen is loaded at the same time when the screen is slid in the prior art is solved, and the sliding smoothness is guaranteed.
Drawings
Fig. 1a is a schematic flowchart of a method for loading display content according to an embodiment of the present disclosure;
FIG. 1b is a schematic view of a scroll view control in which an embodiment of the present disclosure is applicable;
FIG. 1c is a schematic view of a scroll view control in which an embodiment of the present disclosure is applicable;
fig. 2a is a schematic flowchart of a method for loading display content according to a second embodiment of the present disclosure;
FIG. 2b is a schematic view of a scroll view control according to a second embodiment of the present disclosure;
FIG. 2c is a schematic view of a scroll view control according to a second embodiment of the present disclosure;
fig. 3a is a schematic flowchart of a display content loading method according to a third embodiment of the present disclosure;
FIG. 3b is a schematic view of a scroll view control in which a third embodiment of the present disclosure is applicable;
FIG. 3c is a schematic view of a scroll view control in which a third embodiment of the present disclosure is applicable;
fig. 4 is a schematic structural diagram of a loading apparatus for displaying content according to a fourth embodiment of the present disclosure;
fig. 5 is a schematic diagram of a hardware structure of a terminal device according to a fifth embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
Example one
Fig. 1a is a schematic flowchart of a display content loading method according to an embodiment of the present disclosure. The method is applicable to the situation of loading the screen display content when the screen is transversely slid, can be executed by a loading device for displaying the content, can be composed of hardware and/or software, and can be generally integrated in a mobile phone, a tablet and all terminal equipment with a sliding screen display function. The method specifically comprises the following steps:
s110, when the transverse sliding operation aiming at the screen is detected, the screen sliding direction corresponding to the transverse sliding operation is obtained.
In this embodiment, the operation of sliding the screen in the lateral direction may be an operation of moving the screen in the lateral direction while the user touches the screen, and specifically, the event monitoring function may be called to detect whether there is a lateral sliding operation on the screen, and when it is determined that the lateral sliding operation is detected, the sliding direction of the lateral sliding operation is determined. The screen can be a touch display screen, and accordingly, a user can perform gesture sliding operation on the screen.
For example, the screen sliding direction corresponding to the lateral sliding operation may be acquired according to the sliding direction of the lateral sliding operation. For example, when the sliding direction of the lateral sliding operation is rightward sliding, rightward upward sliding, or rightward downward sliding, it can be obtained that the screen sliding direction corresponding to the lateral sliding operation is rightward sliding; when the sliding direction of the lateral sliding operation is leftward sliding, leftward upward sliding, or leftward downward sliding, it can be obtained that the screen sliding direction corresponding to the lateral sliding operation is leftward sliding.
And S120, performing a horizontal scrolling operation on the scroll view control according to the screen sliding direction to change the view currently displayed in the screen, wherein at least three views are arranged in the scroll view control, corresponding display contents are pre-loaded in each view, and before the horizontal scrolling operation is performed, the display contents of the middle view in the scroll view control are displayed in the screen.
Wherein the scroll view control may be, for example, a uisrolview control. Because the screen size of the terminal device is extremely limited, the content which can be directly displayed in front of the user is also quite limited, when the displayed content is more and exceeds one screen, the user can check the content of the next screen through sliding operation, the UIScrollView control is a view control which can be scrolled and can be used for displaying a large amount of content, and the control can be scrolled to check the content of other screens.
Illustratively, a UIScrollView control can be created, and the value of the content size attribute contentsize of the UIScrollView control is set to be N times of the view width, wherein N is an integer and is greater than or equal to 3, so that at least three views (cells) can be set in the UIScrollView control. And loading N cells in the UIScrollView control, wherein each Cell correspondingly loads display contents of different screens. In an initial state, i.e., before performing the lateral scrolling operation, the display contents of the intermediate view in the uisrolview control may be displayed in the screen. Before or after the UIScrollView control is subjected to the horizontal scrolling operation, only the display content of one Cell can be correspondingly displayed in the screen. In other words, a process of performing a horizontal scroll operation on the uisrolview control, that is, a process of switching the Cell displayed in the screen.
In this embodiment, the intermediate view may be any view other than the edge view among the views loaded in the scroll view control. For example, in FIG. 1b, the scroll view control 1 includes three views: a first view 11, a second view 12 and a third view 13, wherein the middle view is the second view 12, i.e. in the initial state, the second view 12 is displayed on the screen 2. As another example, in fig. 1c, the scroll view control 1 includes four views: a fourth view 14, a fifth view 15, a sixth view 16 and a seventh view 17, wherein the intermediate views are the fifth view 15 and the sixth view 16, that is, in the initial state, the fifth view 15 or the sixth view 16 may be displayed on the screen 2, which is not limited herein.
Optionally, in the process of performing a horizontal scrolling operation on the scroll view control, the method further includes:
and updating the value of the view scrolling position parameter of the scrolling view control, wherein the initial value of the view scrolling position parameter is the position value corresponding to the middle view.
The view scroll position parameter may be a parameter for representing a view position currently displayed by the scroll view control, for example, the parameter may be a value of an attribute ContentOffsetX in the uisscrollview control. For example, an initial value of the attribute contentoffset x of the uisrolview control may be set as a position value corresponding to the intermediate view, and the value of the attribute contentoffset x may be updated in real time by the system in the process of executing the horizontal scrolling operation by the uisrolview control, so as to mark the view position displayed in the current screen.
In the scroll view control 1 shown in fig. 1b, the left edge of the scroll view control 1 is used as the starting point of the view scroll position parameter, that is, the zero value is taken, and the right direction is the positive value taking direction, so that the initial value of the view scroll position parameter can be set to 1 time of the view width to ensure that the middle view, that is, the second view 12, is displayed in the screen in the initial state.
S130, determining whether the view displayed in the screen is an edge view in the scroll view control after the transverse scroll operation is finished, updating the position of each view in the scroll view control according to the screen sliding direction when the displayed view is determined to be the edge view, and loading the display content of the next view in the screen sliding direction.
In this embodiment, the edge view may be a view positioned at the leftmost end or the rightmost end in the scroll view control, such as the first view 11 and the third view 13 in fig. 1b, and as well as the fourth view 14 and the seventh view 17 in fig. 1 c. For example, after the horizontal scrolling operation is finished, that is, after the scrolling of the scroll view control is stopped, whether a view displayed in a screen is an edge view in the scroll view control is detected, if so, the position of each view in the scroll view control is adjusted, and the display content of the next screen is loaded; if not, the transverse sliding operation aiming at the screen is continuously detected.
When the displayed view is determined to be the edge view, it is described that the next screen does not exist in the screen sliding direction, and therefore, in order to ensure that the screen is not jammed due to temporary loading of the display content when the horizontal sliding operation is continued, the positions of the views in the scroll view control can be updated and adjusted according to the screen sliding direction, so that after the currently displayed view is no longer the edge view in the scroll view control, the display content of the next screen is loaded in the next view in the screen sliding direction. The position updating method includes, but is not limited to, adding a new view in the scroll view control in the screen sliding direction, or performing cyclic view position adjustment, that is, sequentially adjusting the positions of the views in the scroll view control in the clockwise or counterclockwise direction.
Optionally, determining whether the view displayed in the screen is an edge view in the scroll view control after the horizontal scroll operation is finished includes: and determining whether the value of the view scrolling position parameter of the scroll view control is the position value corresponding to the edge view in the scroll view control after the transverse scrolling operation is finished, and if so, determining that the view displayed in the screen is the edge view in the scroll view control.
In the process of executing the horizontal scrolling operation on the scrolling view control, the value of the view scrolling position parameter can be updated in real time to mark the position corresponding to the view displayed in the screen, so that whether the currently displayed view is the edge view can be determined by monitoring whether the value of the view scrolling position parameter is the position value corresponding to the edge view. For example, for the attribute contentoffset in the uisrolview control, the position value corresponding to the edge view may be a minimum value or a maximum value in a value range of the attribute contentoffset, or a preset value range, for example, greater than a certain value or less than a certain value.
Optionally, three views are arranged in the scroll view control; accordingly, the position value corresponding to the edge view in the scroll view control is 0 or 2 times the view width.
As an actual example, as shown in fig. 1b, if it is detected that the value of the view scroll position parameter corresponding to the scroll view control 1 is 0, it may be determined that the view currently displayed in the screen 2 is the first view 11; if it is detected that the value of the view scroll position parameter corresponding to the scroll view control 1 is 2 times the view width, it can be determined that the view currently displayed in the screen 2 is the third view 13. At this point, the view displayed in screen 2 may be determined to be an edge view in scroll view control 1.
According to the technical scheme, the method comprises the steps of executing transverse rolling operation on a rolling view control by obtaining the screen sliding direction corresponding to the transverse sliding operation of a screen to change the current displayed view in the screen, updating the position of each view in the rolling view control according to the screen sliding direction when the view displayed in the screen is determined to be the edge view in the rolling view control after the transverse rolling operation is finished, and loading the display content of the next view in the screen sliding direction, so that the display content of the next screen is loaded when the view displayed in the current screen is determined to be the edge view, the problem that sliding is blocked when the screen is transversely slid due to the fact that the mode that the display content of the next screen is loaded simultaneously in the sliding screen in the prior art is solved, and the sliding smoothness is guaranteed.
Example two
Fig. 2a is a schematic flowchart of a display content loading method according to a second embodiment of the disclosure. The present embodiment is embodied on the basis of the alternatives in the foregoing embodiments, and provides a selectable loading method of display content, specifically, further optimizing the execution of the horizontal scroll operation on the scroll view control according to the screen sliding direction. The method specifically comprises the following steps:
s210, when the transverse sliding operation aiming at the screen is detected, the screen sliding direction corresponding to the transverse sliding operation is obtained.
And S220, if the screen sliding direction is leftward sliding, performing leftward scrolling operation on the scroll view control to change the view currently displayed in the screen.
The scroll view control is provided with at least three views, each view is pre-loaded with corresponding display content, and before the horizontal scroll operation is executed, the display content of the middle view in the scroll view control is displayed in the screen.
In this embodiment, a detailed operation step performed when the screen slides leftward is mainly described. If the screen sliding direction is leftward sliding, correspondingly, a leftward scrolling operation may be performed on the scroll view control, for example, in fig. 1b, when the leftward scrolling operation is performed on the scroll view control 1, the currently displayed view in the screen is scrolled from the second view 12 to the third view 13, that is, the view display situation shown in fig. 2b is switched, the third view 13 in the scroll view control 1 is displayed in the screen 2, and the first view 11 and the second view 12 are not displayed.
S230, adding the current value of the view scrolling position parameter of the scrolling view control to the scrolling distance value to obtain a sum value, and taking the sum value as a first position value; and updating the value of the view scrolling position parameter to a first position value.
And the initial value of the view rolling position parameter is a position value corresponding to the middle view.
And in the process of executing left scrolling operation on the scroll view control, the value of the view scrolling position parameter can be updated in real time. For example, in fig. 1b, the current value of the view scroll position parameter is 1 time of the view width, and in the process of performing left scrolling operation on the scroll view control 1, if the current scroll distance value is 0.5 times of the view width, the first position value is 1.5 times of the view width, and at this time, the value of the view scroll position parameter is updated to 1.5 times of the view width. When the left scrolling operation is finished, as shown in fig. 2b, the value of the view scrolling position parameter corresponding to the scrolling view control 1 is updated to 2 times the view width.
S240, determining whether the value of the view scrolling position parameter of the scroll view control is the position value corresponding to the edge view in the scroll view control after the leftward scrolling operation is finished, and if so, executing S250; if not, the process returns to the step S210.
And S250, determining the view displayed in the screen as an edge view in the scroll view control, and sequentially adjusting the position of each view in the scroll view control by one view width in a clockwise direction when the displayed view is determined to be the edge view.
The position adjustment in the clockwise direction may be performed by, in addition to the edge view displayed in the current screen, that is, the right edge view, adjusting the position of another edge view, that is, the left edge view, in the scroll view control to the rightmost end of the scroll view control, and sequentially performing position adjustment to the left for all other views including the view displayed in the current screen.
For example, after the left scrolling operation is finished, if the view displayed in the screen is an edge view in the scroll view control, for example, as shown in fig. 2b, and the view displayed in the screen is a third view 13 in the scroll view control 1, the positions of the first view 11, the second view 12, and the third view 13 in the scroll view control 1 are respectively adjusted by one view width in a clockwise direction, that is, the first view 11 is adjusted to the position of the third view 13, the second view 12 is adjusted to the position of the first view 11, and the third view 13 is adjusted to the position of the second view 12, so that the positions of the views in the scroll view control 1 are adjusted to be arranged in the positions shown in fig. 2c, that is, the third view 13 is located between the first view 11 and the second view 12.
And S260, updating the value of the view scrolling position parameter of the scrolling view control to be a difference value obtained by subtracting one view width from the current value.
After the view position of the scroll view control is adjusted, in order to enable the view displayed in the screen to be still displayed in the screen after the left scrolling operation is finished, the view is not affected by the adjustment of the view position, and therefore, the value of the view scrolling position parameter of the scroll view control can be updated to be the difference value obtained by subtracting one view width from the current value.
As a practical example, as shown in fig. 2c, after the left scrolling operation is finished, since the positions of the views in the scroll view control 1 are changed, in order to still display the third view 13 in the screen 2, the value of the view scrolling position parameter may be updated from the view width 2 times as large as the current value to the view width 1 times as large, so that the third view 13 is ensured to be currently displayed in the screen 2. Finally, the display content of the next screen may be loaded and rendered in the first view 11.
And S270, loading the display content of the next view in the sliding direction of the screen.
In the technical scheme of this embodiment, when the screen sliding direction corresponding to the lateral sliding operation of the screen is obtained, if the screen sliding direction is leftward sliding, a leftward scrolling operation is performed on the scroll view control, and the view scrolling position parameter of the scroll view control is updated to a first position value obtained by adding a current value and a scrolling distance value, after the leftward scrolling operation is determined to be completed, when the value of the view scrolling position parameter is a position value corresponding to an edge view in the scroll view control, it is determined that the view displayed in the screen is the edge view, and then the positions of the views in the scroll view control are sequentially adjusted by a view width in a clockwise direction, and meanwhile, the value of the view scrolling position parameter is updated to a difference obtained by subtracting one view width from the current value, and the display content of the next view in the screen sliding direction is loaded, therefore, after the leftward sliding operation is determined to be finished, the display content of the next screen is loaded when the view displayed in the current screen is the edge view, the problem that sliding is blocked when the screen is slid leftward is solved, and the sliding smoothness is guaranteed.
EXAMPLE III
Fig. 3a is a schematic flowchart of a display content loading method according to a third embodiment of the present disclosure. The present embodiment is embodied on the basis of the alternatives in the foregoing embodiments, and provides a selectable loading method of display content, specifically, further optimizing the execution of the horizontal scroll operation on the scroll view control according to the screen sliding direction. The method specifically comprises the following steps:
s310, when the transverse sliding operation of the screen is detected, the screen sliding direction corresponding to the transverse sliding operation is acquired.
And S320, if the screen sliding direction is rightward sliding, performing rightward scrolling operation on the scroll view control to change the view currently displayed in the screen.
The scroll view control is provided with at least three views, each view is pre-loaded with corresponding display content, and before the horizontal scroll operation is executed, the display content of the middle view in the scroll view control is displayed in the screen.
In this embodiment, the specific operation steps that are correspondingly executed when the screen slides rightward are mainly described. If the screen sliding direction is rightward sliding, correspondingly, a rightward scrolling operation may be performed on the scroll view control, for example, in fig. 1b, when the rightward scrolling operation is performed on the scroll view control 1, the view currently displayed in the screen is scrolled from the second view 12 to the first view 11, that is, the view display situation shown in fig. 3b is switched, the first view 11 in the scroll view control 1 is displayed in the screen 2, and the second view 12 and the third view 13 are not displayed.
S330, taking a difference value obtained by subtracting the rolling distance value from the current value of the view rolling position parameter of the rolling view control as a second position value; and updating the value of the view scrolling position parameter to a second position value.
And the initial value of the view rolling position parameter is a position value corresponding to the middle view.
And in the process of executing right scrolling operation on the scroll view control, the value of the view scrolling position parameter can be updated in real time. For example, in fig. 1b, the current value of the view scroll position parameter is 1 time of the view width, and in the process of performing the right scroll operation on the scroll view control 1, if the current scroll distance value is 0.3 times of the view width, the first position value is 0.7 times of the view width, and at this time, the value of the view scroll position parameter is updated to be 0.7 times of the view width. When the right scrolling operation is finished, as shown in fig. 3b, the value of the view scrolling position parameter corresponding to the scrolling view control 1 is updated to 0.
S340, determining whether the value of the view scrolling position parameter of the scrolling view control is the position value corresponding to the edge view in the scrolling view control after the rightward scrolling operation is finished, and if so, executing S350; if not, the process returns to step S310.
And S350, determining the view displayed in the screen as an edge view in the scroll view control, and sequentially adjusting the position of each view in the scroll view control by one view width in the anticlockwise direction when the displayed view is determined to be the edge view.
The position adjustment in the counterclockwise direction may be performed by adjusting the position of another edge view, that is, the right edge view, in the scroll view control to the leftmost end of the scroll view control, except for the edge view, that is, the left edge view, displayed in the current screen, and performing position adjustment to all other views including the view displayed in the current screen to the right in sequence.
For example, after the right scrolling operation is finished, if the view displayed in the screen is an edge view in the scroll view control, for example, as shown in fig. 3b, and the view displayed in the screen is the third view 13 in the scroll view control 1, the positions of the first view 11, the second view 12, and the third view 13 in the scroll view control 1 are respectively adjusted by one view width in the counterclockwise direction, that is, the third view 13 is adjusted to the position of the first view 11, the second view 12 is adjusted to the position of the third view 13, and the first view 11 is adjusted to the position of the second view 12, so that the positions of the views in the scroll view control 1 are adjusted to be arranged in the position shown in fig. 3c, that is, the first view 11 is located between the third view 13 and the second view 12.
And S360, updating the value of the view scrolling position parameter of the scrolling view control to be a sum of the current value and a view width.
After the view position of the scroll view control is adjusted, in order to enable the view displayed in the screen to be still displayed in the screen after the right scroll operation is finished, the view is not affected by the adjustment of the view position, and therefore, the value of the view scroll position parameter of the scroll view control can be updated to be the difference value obtained by adding one view width to the current value.
As an actual example, as shown in fig. 3c, after the right scroll operation is finished, since the positions of the views in the scroll view control 1 are changed, in order to still display the first view 11 in the screen 2, the value of the view scroll position parameter may be updated from the current value 0 to a view width 1 times, so that it is ensured that the first view 11 is currently displayed in the screen 2. Finally, the display content of the next screen may be loaded and rendered in the third view 13.
And S370, loading the display content of the next view in the sliding direction of the screen.
In the technical scheme of this embodiment, when the screen sliding direction corresponding to the lateral sliding operation of the screen is obtained, if the screen sliding direction is rightward sliding, a rightward scrolling operation is performed on the scroll view control, and the view scrolling position parameter of the scroll view control is updated to a first position value obtained by subtracting the scrolling distance value from the current value, after the rightward scrolling operation is determined to be finished, when the value of the view scrolling position parameter is the position value corresponding to the edge view in the scroll view control, the view displayed in the screen is determined to be the edge view, the position of each view in the scroll view control is sequentially adjusted by one view width in the counterclockwise direction, and meanwhile, the value of the view scrolling position parameter is updated to a difference value obtained by adding one view width to the current value, and the display content of the next view in the screen sliding direction is loaded, therefore, after the rightward sliding operation is determined to be finished, the display content of the next screen is loaded when the view displayed in the current screen is the edge view, the problem that the screen slides rightwards and is jammed is solved, and the sliding smoothness is guaranteed.
Example four
Fig. 4 is a schematic structural diagram of a display content loading apparatus according to a fourth embodiment of the present disclosure. Referring to fig. 4, the loading apparatus of the display content includes: the direction acquiring module 410, the scroll executing module 420, and the view processing module 430, which are described in detail below.
A direction obtaining module 410, configured to, when a lateral sliding operation for a screen is detected, obtain a screen sliding direction corresponding to the lateral sliding operation;
a scroll executing module 420, configured to perform a horizontal scroll operation on a scroll view control according to the screen sliding direction to change a currently displayed view in the screen, where at least three views are provided in the scroll view control, each view is pre-loaded with corresponding display content, and before the horizontal scroll operation is performed, the display content of an intermediate view in the scroll view control is displayed in the screen;
and the view processing module 430 is configured to determine whether a view displayed in the screen is an edge view in the scroll view control after the transverse scrolling operation is finished, update the position of each view in the scroll view control according to the screen sliding direction when it is determined that the displayed view is the edge view, and load display content of a next view in the screen sliding direction.
According to the loading device for the display content, the screen sliding direction corresponding to the screen transverse sliding operation is obtained, the transverse scrolling operation is executed on the scroll view control, so that the current display view in the screen is changed, when the transverse scrolling operation is determined to be finished and the display view displayed in the screen is the edge view in the scroll view control, the position of each view in the scroll view control is updated according to the screen sliding direction, and the display content of the next view in the screen sliding direction is loaded, so that the display content of the next screen is loaded when the view displayed in the current screen is determined to be the edge view, the problem that the screen is slid in the transverse sliding mode due to the fact that the next screen display content is loaded at the same time in the sliding mode in the prior art is solved, and the sliding fluency is guaranteed.
Optionally, the loading device for displaying content may further include:
the view value updating module is used for updating the value of a view scrolling position parameter of the scroll view control in the process of executing the transverse scrolling operation on the scroll view control, wherein the initial value of the view scrolling position parameter is the position value corresponding to the intermediate view;
correspondingly, the view processing module 430 may be specifically configured to:
and determining whether the value of the view scrolling position parameter of the scroll view control is the position value corresponding to the edge view in the scroll view control after the transverse scrolling operation is finished, and if so, determining that the view displayed in the screen is the edge view in the scroll view control.
Optionally, three views are arranged in the scroll view control; correspondingly, the position value corresponding to the edge view in the scroll view control is 0 or 2 times the view width.
Optionally, the scroll executing module 420 may be specifically configured to:
if the screen sliding direction is leftward sliding, performing leftward scrolling operation on the scroll view control;
correspondingly, the value updating module may be specifically configured to:
adding a current value of a view scrolling position parameter of the scrolling view control to a scrolling distance value to obtain a sum value, and taking the sum value as a first position value;
and updating the value of the view rolling position parameter to the first position value.
Optionally, the scroll executing module 420 may be further specifically configured to:
if the screen sliding direction is rightward sliding, performing rightward scrolling operation on the scroll view control;
correspondingly, the value updating module may be further configured to:
a difference value obtained by subtracting the rolling distance value from the current value of the view rolling position parameter of the rolling view control is used as a second position value;
and updating the value of the view rolling position parameter to the second position value.
Optionally, the view processing module 430 may be further specifically configured to:
if the screen slides leftwards, the positions of the views in the scroll view control are sequentially adjusted by one view width according to the clockwise direction;
and if the screen sliding direction is rightward sliding, sequentially adjusting the positions of the views in the scroll view control by one view width according to the counterclockwise direction.
Optionally, the loading device for displaying content may further include:
a difference value updating module, configured to update, after the positions of the views in the scroll view control are updated according to the screen sliding direction, if the screen sliding direction is leftward sliding, a value of a view scrolling position parameter of the scroll view control is updated to a difference value obtained by subtracting one view width from a current value;
and the value updating module is used for updating the value of the view scrolling position parameter of the scrolling view control to be a sum value obtained by adding one view width to the current value if the screen sliding direction is rightward sliding.
The product can execute the method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a diagram illustrating a hardware structure of a terminal device according to an embodiment of the present disclosure. The terminal device may be implemented in various forms, and the terminal device in the present disclosure may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rear view mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like.
As shown in fig. 5, the terminal device 510 may include a wireless communication unit 501, an a/V (audio/video) input unit 502, a user input unit 503, a sensing unit 504, an output unit 505, a memory 506, an interface unit 507, a processor 508, a power supply unit 509, and the like. Fig. 5 shows a terminal device having various components, but it is to be understood that not all of the illustrated components are required to be implemented. More or fewer components may alternatively be implemented.
The wireless communication unit 501 allows, among other things, radio communication between the terminal device 510 and a wireless communication system or network. The a/V input unit 502 is used to receive audio or video signals. The user input unit 503 may generate key input data to control various operations of the terminal device according to a command input by a user. The sensing unit 504 detects a current state of the terminal device 510, a position of the terminal device 510, presence or absence of a touch input of the terminal device 510 by a user, an orientation of the terminal device 510, acceleration or deceleration movement and direction of the terminal device 510, and the like, and generates a command or signal for controlling an operation of the terminal device 510. The interface unit 507 serves as an interface through which at least one external device is connected to the terminal apparatus 510. The output unit 505 is configured to provide output signals in a visual, audio, and/or tactile manner. The memory 506 may store software programs or the like for processing and controlling operations performed by the processor 508, or may temporarily store data that has been output or is to be output. The memory 506 may include at least one type of storage medium. Also, the terminal device 510 may cooperate with a network storage that performs a storage function of the memory 506 through a network connection. The processor 508 generally controls the overall operation of the terminal device. In addition, the processor 508 may include a multimedia module for reproducing or playing back multimedia data. The processor 508 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. The power supply unit 509 receives external power or internal power and supplies appropriate power required to operate the respective elements and components under the control of the processor 508.
The processor 508 executes programs stored in the memory 506 to execute various functional applications and data processing, for example, to implement a menu display method provided by the embodiment of the present disclosure, which may specifically include:
when the transverse sliding operation aiming at the screen is detected, the screen sliding direction corresponding to the transverse sliding operation is obtained; according to the screen sliding direction, performing a horizontal scrolling operation on a scrolling view control to change a view currently displayed in a screen, wherein at least three views are arranged in the scrolling view control, corresponding display content is pre-loaded in each view, and before the horizontal scrolling operation is performed, display content of a middle view in the scrolling view control is displayed in the screen; and determining whether the view displayed in the screen is an edge view in the scroll view control after the transverse scroll operation is finished, updating the position of each view in the scroll view control according to the screen sliding direction when the displayed view is determined to be the edge view, and loading the display content of the next view in the screen sliding direction.
EXAMPLE six
The sixth embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a loading device of display content, implements a loading method of display content according to the first embodiment of the present disclosure, where the method includes: when the transverse sliding operation aiming at the screen is detected, the screen sliding direction corresponding to the transverse sliding operation is obtained; according to the screen sliding direction, performing a horizontal scrolling operation on a scrolling view control to change a view currently displayed in a screen, wherein at least three views are arranged in the scrolling view control, corresponding display content is pre-loaded in each view, and before the horizontal scrolling operation is performed, display content of a middle view in the scrolling view control is displayed in the screen; and determining whether the view displayed in the screen is an edge view in the scroll view control after the transverse scroll operation is finished, updating the position of each view in the scroll view control according to the screen sliding direction when the displayed view is determined to be the edge view, and loading the display content of the next view in the screen sliding direction.
Of course, the computer program stored on the computer readable storage medium provided by the embodiments of the present disclosure is not limited to implement the method operations described above when being executed, and may also implement the relevant operations in the loading method of the display content provided by any embodiments of the present disclosure.
From the above description of the embodiments, it is obvious for a person skilled in the art that the present disclosure can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present disclosure may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present disclosure.
It should be noted that, in the embodiment of the loading apparatus for displaying content, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present disclosure.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present disclosure and the technical principles employed. Those skilled in the art will appreciate that the present disclosure is not limited to the particular embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the present disclosure. Therefore, although the present disclosure has been described in greater detail with reference to the above embodiments, the present disclosure is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present disclosure, the scope of which is determined by the scope of the appended claims.

Claims (9)

1. A loading method of display content is characterized by comprising the following steps:
when the transverse sliding operation aiming at the screen is detected, the screen sliding direction corresponding to the transverse sliding operation is obtained;
according to the screen sliding direction, performing a horizontal scrolling operation on a scrolling view control to change a currently displayed view in a screen, wherein the scrolling view control is provided with at least three views, each view is pre-loaded with corresponding display content, and before the horizontal scrolling operation is performed, the display content of a middle view in the scrolling view control is displayed in the screen;
determining whether the view displayed in the screen is an edge view in the scroll view control after the transverse scroll operation is finished, updating the position of each view in the scroll view control according to the screen sliding direction when the displayed view is determined to be the edge view, and loading the display content of the next view in the screen sliding direction;
when it is determined that the displayed view is an edge view, updating the position of each view in the scroll view control according to the screen sliding direction, and loading the display content of the next view in the screen sliding direction, including:
when the displayed view is determined to be the edge view, adding a new view in the screen sliding direction in the scroll view control, or performing cyclic view position adjustment, and loading the display content of the next view in the screen sliding direction;
in performing a lateral scrolling operation on a scroll view control, the method further comprises: updating the value of the view scrolling position parameter of the scrolling view control, wherein the initial value of the view scrolling position parameter is the position value corresponding to the intermediate view;
after updating the positions of the views in the scroll view control according to the screen sliding direction, the method further comprises:
if the screen sliding direction is leftward sliding, updating the value of the view scrolling position parameter of the scrolling view control to be a difference value obtained by subtracting a view width from the current value; and if the screen sliding direction is rightward sliding, updating the value of the view scrolling position parameter of the scroll view control to be a sum of the current value and one view width.
2. The method of claim 1, wherein determining whether the view displayed in the screen after the lateral scrolling operation is over is an edge view in the scroll view control comprises:
and determining whether the value of the view scrolling position parameter of the scroll view control is the position value corresponding to the edge view in the scroll view control after the transverse scrolling operation is finished, and if so, determining that the view displayed in the screen is the edge view in the scroll view control.
3. The method of claim 2, wherein three views are provided in the scroll view control; correspondingly, the position value corresponding to the edge view in the scroll view control is 0 or 2 times the view width.
4. The method of claim 2, wherein performing a lateral scrolling operation on a scroll view control according to the screen sliding direction comprises:
if the screen sliding direction is leftward sliding, performing leftward scrolling operation on the scroll view control;
correspondingly, updating the value of the view scrolling position parameter of the scrolling view control comprises:
adding a current value of a view scrolling position parameter of the scrolling view control to a scrolling distance value to obtain a sum value, and taking the sum value as a first position value;
and updating the value of the view rolling position parameter to the first position value.
5. The method of claim 2, wherein performing a lateral scrolling operation on a scroll view control according to the screen sliding direction comprises:
if the screen sliding direction is rightward sliding, performing rightward scrolling operation on the scroll view control;
correspondingly, updating the value of the view scrolling position parameter of the scrolling view control comprises:
a difference value obtained by subtracting the rolling distance value from the current value of the view rolling position parameter of the rolling view control is used as a second position value;
and updating the value of the view rolling position parameter to the second position value.
6. The method of any of claims 2-5, wherein updating the position of each view in the scroll view control according to the screen sliding direction comprises:
if the screen slides leftwards, the positions of the views in the scroll view control are sequentially adjusted by one view width according to the clockwise direction;
and if the screen sliding direction is rightward sliding, sequentially adjusting the positions of the views in the scroll view control by one view width according to the counterclockwise direction.
7. A loading apparatus for displaying contents, comprising:
the direction acquisition module is used for acquiring a screen sliding direction corresponding to a transverse sliding operation when the transverse sliding operation aiming at a screen is detected;
the scroll executing module is used for executing horizontal scroll operation on a scroll view control according to the screen sliding direction so as to change the current displayed view in the screen, wherein at least three views are arranged in the scroll view control, corresponding display content is pre-loaded in each view, and the display content of the middle view in the scroll view control is displayed in the screen before the horizontal scroll operation is executed;
the view processing module is used for determining whether the view displayed in the screen is an edge view in the scroll view control after the transverse scroll operation is finished, updating the position of each view in the scroll view control according to the screen sliding direction when the displayed view is determined to be the edge view, and loading the display content of the next view in the screen sliding direction;
the view processing module is configured to, when it is determined that a displayed view is an edge view, add a new view in the scroll view control in the screen sliding direction, or perform loop view position adjustment, and load display content of a next view in the screen sliding direction;
the loading device for displaying the content further comprises: the view value updating module is used for updating the value of a view scrolling position parameter of the scroll view control in the process of executing the transverse scrolling operation on the scroll view control, wherein the initial value of the view scrolling position parameter is the position value corresponding to the intermediate view;
a difference value updating module, configured to update, after the positions of the views in the scroll view control are updated according to the screen sliding direction, if the screen sliding direction is leftward sliding, a value of a view scrolling position parameter of the scroll view control is updated to a difference value obtained by subtracting one view width from a current value;
and the value updating module is used for updating the value of the view scrolling position parameter of the scrolling view control to be a sum value obtained by adding one view width to the current value if the screen sliding direction is rightward sliding.
8. A terminal device, characterized in that the device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of loading display content as recited in any of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a loading method of displaying content according to any one of claims 1 to 6.
CN201811401665.8A 2018-11-22 2018-11-22 Display content loading method, device, equipment and storage medium Active CN109542304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811401665.8A CN109542304B (en) 2018-11-22 2018-11-22 Display content loading method, device, equipment and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811401665.8A CN109542304B (en) 2018-11-22 2018-11-22 Display content loading method, device, equipment and storage medium
PCT/CN2019/119182 WO2020103792A1 (en) 2018-11-22 2019-11-18 Method and device for loading display content, terminal device, and storage medium

Publications (2)

Publication Number Publication Date
CN109542304A CN109542304A (en) 2019-03-29
CN109542304B true CN109542304B (en) 2021-03-02

Family

ID=65849250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811401665.8A Active CN109542304B (en) 2018-11-22 2018-11-22 Display content loading method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN109542304B (en)
WO (1) WO2020103792A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542304B (en) * 2018-11-22 2021-03-02 北京字节跳动网络技术有限公司 Display content loading method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777868A (en) * 2012-10-23 2014-05-07 福建星网视易信息系统有限公司 Screen sliding method using page as unit and having background loading function and cache logic function
CN104965659A (en) * 2015-07-06 2015-10-07 无锡天脉聚源传媒科技有限公司 Page information preloading method and apparatus
CN105912251A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Cache management method, device and mobile terminal
CN108228044A (en) * 2016-12-15 2018-06-29 北大方正集团有限公司 Method, system and the terminal of e-book reading page turning

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9552212B2 (en) * 2011-05-06 2017-01-24 Microsoft Technology Licensing, Llc Caching intermediate data for scroll view rendering
US9965162B2 (en) * 2012-11-29 2018-05-08 Facebook, Inc. Scrolling across boundaries in a structured document
CN106325664A (en) * 2015-06-30 2017-01-11 广州华多网络科技有限公司 Image display method and apparatus
US20170060404A1 (en) * 2015-08-28 2017-03-02 Facebook, Inc. Systems and methods for providing interactivity for panoramic media content
CN105872706A (en) * 2015-12-30 2016-08-17 乐视致新电子科技(天津)有限公司 Display control method and device
CN105843493B (en) * 2016-03-31 2019-03-05 武汉斗鱼网络科技有限公司 A kind of homepage slide show and operating method and device
CN106648642A (en) * 2016-12-09 2017-05-10 武汉斗鱼网络科技有限公司 Infinite page scrolling method of slide view in IOS client end and system
CN109542304B (en) * 2018-11-22 2021-03-02 北京字节跳动网络技术有限公司 Display content loading method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777868A (en) * 2012-10-23 2014-05-07 福建星网视易信息系统有限公司 Screen sliding method using page as unit and having background loading function and cache logic function
CN104965659A (en) * 2015-07-06 2015-10-07 无锡天脉聚源传媒科技有限公司 Page information preloading method and apparatus
CN105912251A (en) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 Cache management method, device and mobile terminal
CN108228044A (en) * 2016-12-15 2018-06-29 北大方正集团有限公司 Method, system and the terminal of e-book reading page turning

Also Published As

Publication number Publication date
WO2020103792A1 (en) 2020-05-28
CN109542304A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
TWI648673B (en) Method, device and computer readable storage medium for navigating a user interface in a user interface
US20180157406A1 (en) Method and apparatus for providing a notification mechanism
US9733815B2 (en) Split-screen display method and apparatus, and electronic device thereof
US9772769B2 (en) Mobile terminal device and display control method thereof
US10747416B2 (en) User terminal device and method for displaying thereof
KR102140850B1 (en) Setting an operating-system color using a photograph
KR102137240B1 (en) Method for adjusting display area and an electronic device thereof
AU2013223015B2 (en) Method and apparatus for moving contents in terminal
US8624935B2 (en) Smart keyboard management for a multifunction device with a touch screen display
US20160162164A1 (en) Integrated icon resizing control
US8654076B2 (en) Touch screen hover input handling
US20160062724A1 (en) Method, apparatus and computer program product for joining the displays of multiple devices
US9471197B2 (en) Category search method and mobile device adapted thereto
KR102207861B1 (en) Method for displaying and an electronic device thereof
RU2582854C2 (en) Method and device for fast access to device functions
US20140365953A1 (en) Device, method, and graphical user interface for displaying application status information
TWI468957B (en) Device, method, and graphical user interface for navigating a list of identifiers
EP2876538A1 (en) Mobile terminal and method for controlling the same
US8441377B2 (en) Method of dynamically adjusting long-press delay time, electronic device, and computer-readable medium
RU2668736C1 (en) Method and device for selecting the text
TWI441051B (en) Electronic device and information display method thereof
US9170722B2 (en) Display control device, display control method, and program
US8212785B2 (en) Object search method and terminal having object search function
US20160070463A1 (en) Flexible touch-based scrolling
US10423290B2 (en) Information processing apparatus

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