WO2019080665A1 - 视图显示方法、装置、设备及存储介质 - Google Patents
视图显示方法、装置、设备及存储介质Info
- Publication number
- WO2019080665A1 WO2019080665A1 PCT/CN2018/105851 CN2018105851W WO2019080665A1 WO 2019080665 A1 WO2019080665 A1 WO 2019080665A1 CN 2018105851 W CN2018105851 W CN 2018105851W WO 2019080665 A1 WO2019080665 A1 WO 2019080665A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- view
- display effect
- preset
- boundary
- preset display
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Definitions
- the present invention relates to the field of Internet technologies, and in particular, to a view display method, apparatus, device, and storage medium.
- the application's user interface is generally a combination of a view and a view group (ViewGroup) and its derived classes.
- the view is the base class of all user interfaces
- the view group is the container that holds these components, which itself is derived from View.
- a view group as a container can contain a View as a leaf node, or it can contain a sub-view group as a lower level, and the sub-view group can in turn include a view and a view group of the leaf nodes of the next layer.
- this flexible view hierarchy can form a very complex UI layout, from which developers can design and develop very sophisticated UI interfaces.
- the developer In order to improve the UI experience of the user, during the development of the application, the developer also gives a certain view display effect when designing the view. However, for the same view display effect, the conditions for different types of View to achieve the view display effect may be different, so the developer needs to write corresponding code according to different View types to achieve the preset view display effect, which will undoubtedly increase The complexity of the code increases development costs.
- the invention provides a view display method, device, device and storage medium, so as to reduce implementation complexity in the process of view display effect during development, and save development cost.
- a view display method including:
- an application program interface for a preset display effect where the application program interface encapsulates a plurality of implementation conditions of the preset view display effect, wherein different implementation conditions correspond to different view types;
- the view type is a type of the view provided by the application
- the view When the view satisfies the implementation condition of the preset display effect corresponding to the view type, the view is displayed according to the preset view display effect.
- the preset display effect is given to the view
- the specific logic of the view does not need to be considered, and the corresponding code is not required to be written for different view types, and only the view needs to be connected to the pre-designed application program interface, one line or several
- the line code can realize the process, the code is highly pourable, and the implementation complexity in the process of displaying the view is reduced during the development process, which greatly reduces the development cost.
- the implementation condition of the preset display effect is a determination condition that the view reaches a preset boundary position
- the displaying the view according to a preset display effect including:
- the view After the view reaches the preset boundary position, in response to an operation of moving to the boundary position for the view input, the content of the view is prompted to reach a displayable boundary.
- the view display method of the present invention is particularly suitable for view display effects implemented based on user interaction.
- the method may further include: before the view is that the view meets the implementation condition of the preset display effect corresponding to the view type, before the displaying the view according to the preset display effect, the method may further include:
- the scroll position of the view may be determined according to the touch event of the view, thereby determining whether the view reaches the boundary position.
- the prompting that the content of the view has reached a displayable boundary may include:
- a suitable prompt manner can be selected according to the need to prompt the content of the user view to reach the displayable boundary.
- a view display device comprising:
- An obtaining module configured to obtain an application interface for a preset display effect, where the application program interface encapsulates multiple implementation conditions of the preset view display effect, where different implementation conditions correspond to different view types;
- a determining module configured to determine, from the application program interface, an implementation condition of the preset display effect corresponding to the view type;
- the view type is a type of the view provided by the application;
- a display control module configured to display the view according to the preset display effect when the view satisfies an implementation condition of the preset display effect corresponding to the view type.
- the implementation condition of the preset display effect is a determination condition that the view reaches a predetermined boundary position.
- the display control module is configured to prompt the user that the content of the view has been reached in response to an operation of externally moving to the boundary position for the view after the view reaches the preset boundary position. Show the border.
- the view display device further includes:
- An obtaining module configured to obtain a scrolling operation or a sliding operation for the view
- the determining module is configured to determine whether the view satisfies an implementation condition of the preset display effect under the action of the scrolling operation or the sliding operation.
- the display control module is specifically configured to display a predetermined pattern at the boundary position to prompt that the content of the view has reached a displayable boundary; and/or continue to move the view in response to the view The end operation of the input moves the view from the current position to the boundary position.
- a computing device comprising: a display; a processor; and a memory having executable code stored thereon, causing the processor to execute the above when the executable code is executed by the processor The view display method described.
- a computer readable storage medium having stored thereon executable code for causing a processor to perform the above-described views when executable code is executed by a processor of an electronic device Display method.
- the view display method, device, device and storage medium of the present invention can determine the preset display effect corresponding to the view type provided by the application program from the application program interface by acquiring an application program interface for the preset display effect.
- the implementation condition is displayed, and when the view satisfies the implementation condition of the preset display effect corresponding to the view type, the view is displayed according to the preset display effect.
- the preset display effect when the preset display effect is given to the View, it is no longer necessary to consider the specific logic of the View, and it is not necessary to write the corresponding code for different view types, and only the code corresponding to the application interface of the preset display effect can be realized, the code The pourability is very low, which reduces the implementation complexity in the process of displaying the effect during the development process, and greatly reduces the development cost.
- FIG. 1 is a schematic structural diagram of a computing device according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a view display method according to an embodiment of the present invention.
- FIG. 3 is a flowchart of another view display method according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a view display device according to an embodiment of the present invention.
- the dynamic view may include: a list view (ListView), a reusable view (RecyclerView), a sliding view (ViewPager) and the like.
- a list view (ListView)
- RecyclerView a reusable view
- ViewPager a sliding view
- the boundary judgment conditions of the view such as the list view, the multiplexed view, and the sliding view are different. Different boundary judgment conditions correspond to different implementation conditions of the same preset display effect.
- the boundary position of the list view is the first view in the list, and the position corresponding to the last view is completely visible; the critical point of the reused view is that the view in the first row or the last row of the waterfall view is completely visible.
- the position of the sliding view is the position in the view list that slides to the last view or slides back to the first view.
- the present invention proposes a new view display scheme.
- the solution can design an application program interface (API), and the designed application interface can encapsulate multiple implementation conditions of the preset display effect. Different implementation conditions correspond to different view types. Therefore, the application interface encapsulates implementation conditions of the preset display effect corresponding to multiple view types.
- the preset display effect corresponding to the view type provided by the application may be directly selected from the application interface corresponding to the preset display effect.
- the condition is implemented, and when the view satisfies the implementation condition of the preset display effect corresponding to the view type, the view is displayed according to the preset display effect.
- the view when the view is given a preset display effect, it is no longer necessary to consider the specific logic of the view, and it is not necessary to write a corresponding code for different view types, and only the code corresponding to the application interface of the preset display effect can be realized, that is, One line or several lines of code can be realized, the code is highly pourable, which reduces the implementation complexity in the process of displaying the view during the development process, and greatly reduces the development cost.
- the application program interface (API) described in the present invention can also be regarded as a framework, that is, the implementation condition of the preset display effect corresponding to multiple view types can be encapsulated in a framework.
- the framework can also provide an interface for developers. The developer can implement methods for some custom views that are not covered in the framework. The method provided by the developer for the customized view can also be saved. In the framework, for other developers to use.
- the view display effect described in the present invention may be a plurality of types of UI effects, and may preferably be a view display effect related to user interaction.
- it can be an OverScroll UI effect.
- the over-rolling UI effect means that when the View reaches the critical point, it can no longer continue to slide. At this time, the entire view slides following the sliding of the finger, and the view bounces to the critical point after the finger is released.
- other boundary prompting effects may also be used. For example, after the finger sliding view reaches the critical point, the view no longer slides following the sliding of the finger, and a specific image is displayed at the critical point to prompt the user view to reach the boundary.
- the view display effect described in the present invention may also be other various types of UI effects, and details are not described herein again.
- FIG. 1 is a schematic structural diagram of a computing device according to an embodiment of the present invention.
- the view display method proposed by the present invention can be applied to the computing device 100 shown in FIG. 1, that is, the view display method of the present invention can be implemented by the computing device 100 shown in FIG. 1.
- Computing device 100 can be a desktop, a portable computer, a tablet, a smart phone, a personal data assistant (PDA), or other type of computer device, but is not limited to any particular form.
- Computing device 100 can include, but is not limited to, display 110, processor 120, and memory 130.
- Display 110 can be used to display a UI interface of an application running on computing device 100.
- the display 110 may include various types of image display devices, such as a cathode ray tube (CRT) display, a liquid crystal display (LCD), a light-emitting diode (LED) display, and an organic light emitting device.
- DAC Digital to Analog Converter
- ADC Analog-to-Digital Converter
- signal A collection of processors etc.
- the processor 120 can be a multi-core processor or a plurality of sub-processors.
- the processor 120 may include a general-purpose main processor and one or more special co-processors, such as a graphics processing unit (GPU), a digital signal processor (Digital Signal Processor, DSP). )and many more.
- GPU graphics processing unit
- DSP Digital Signal Processor
- Memory 130 may include one or more of any type of storage device that stores files or other forms of content, including magnetic hard drives, solid state hard drives, semiconductor storage devices, flash memory, or any device capable of storing program instructions or digital information. Other computer readable and writable storage media.
- Executable code may be stored on the memory 130. In the present invention, when the executable code on the memory 130 is executed by the processor 120, the processor 120 may be caused to perform the view display method illustrated in FIG.
- FIG. 2 is a flowchart of a view display method according to an embodiment of the present invention.
- the view display method can include the following:
- the application interface encapsulates multiple implementation conditions of the preset display effect, wherein different implementation conditions correspond to different view types.
- the plurality of implementation conditions correspond to the same preset display effect for different view types.
- the preset display effect is a preset view display effect.
- S220 Determine, from the application program interface, an implementation condition of the preset display effect corresponding to the view type, where the view type is a type of a view provided by the application.
- the application can be, for example, a third party application or another type of application.
- the application interface of the preset display effect may be obtained, and the preset display corresponding to the view type is determined from the application program interface by calling the application program interface.
- the implementation conditions of the effect if the application only provides the view, the implementation condition of the preset display effect corresponding to the view type may be determined from the application program interface by calling the application program interface. This can further reduce the developer's development logic, and the code is less inclined.
- the view provided by the application may be determined whether the implementation condition of the preset display effect corresponding to the view type is met. If yes, the S220 is executed to display the view according to the preset display effect, thereby giving the view provided by the application, and the preset display effect.
- the application program interface may further encapsulate a method for determining the view and the corresponding implementation condition under different implementation conditions, and The view display method in the case where the implementation condition is satisfied.
- the application program interface may employ a policy mode that facilitates the developer to inherit the extension.
- the implementation condition of the preset display effect corresponding to the view type may be encapsulated by a custom or other manner. Go to the application interface.
- the implementation condition of the preset display effect as described above may be a determination condition that the view reaches a preset boundary position.
- the implementation condition of the preset display effect corresponding to each view type may be a determination condition that the view of the type reaches the boundary position.
- the preset display effect described in the present disclosure may be a view display effect related to user interaction. Therefore, in the method, an operation (such as a scroll operation, a sliding operation, and the like) input by the user for the view may be acquired, and then it is determined whether the view satisfies the preset display effect corresponding to the view type under the action of the operation. condition.
- the scrolling operation may be, for example, a scrolling operation input through a mouse or other control device.
- the sliding operation can be, for example, a sliding gesture input through the touch panel
- the view display method provided by the embodiment of the present invention may determine, by using an application program interface for a preset display effect, an implementation condition of the preset display effect corresponding to the view type provided by the application program, and When the view satisfies the implementation condition of the preset display effect corresponding to the view type, the view is displayed according to the preset display effect. Therefore, when the preset display effect is given to the view, it is no longer necessary to consider the specific logic of the view, and it is not necessary to write corresponding code for different view types, and only the code corresponding to the application interface of the preset display effect can be realized, the code The pourability is very low, which reduces the implementation complexity in the process of displaying the effect during the development process, and greatly reduces the development cost.
- FIG. 3 is a flowchart of another view display method according to an embodiment of the present invention.
- the preset display effect is the prompt effect after the view reaches the boundary position, and the preset display effect realization condition is that the view reaches the predetermined boundary position as an example, and the above display view is displayed according to the preset display effect in S220.
- the implementation process is the following process.
- boundary determination methods may be encapsulated according to different View features to form an application program interface (or frame).
- the boundary determination method may include a boundary determination condition of the view, a determination method when the view reaches the boundary position, and an implementation method of displaying the view at the boundary position and displaying the rear view.
- the application can pass the provided view to the packaged framework, and the framework performs the method shown in FIG. 3 to implement the boundary determination and display of the view.
- the method can include:
- the touch operation can be obtained by intercepting a touch event for the view.
- all the touch events of the view (or the target view) can be completely cut off, and some touch time of the view can be intercepted first.
- the part of the touch event may be, for example, a touch event such as an action move (ACTION_MOVE) event or a stop move (ACTION_UP) event for the view.
- the action movement event may be a moving view, such as a finger movement or the like; the stop movement event may be, for example, stopping the moving view, such as a finger release.
- the touch event of the view may be a scrolling operation or a sliding operation input by the user for the view.
- the scrolling operation may be, for example, a scrolling operation that the user inputs through the mouse to cause the view to move, or a sliding operation that the user inputs through the touch panel to cause the view to move.
- a boundary position corresponding to the view type may be determined according to a specific attribute or type of the view, and then determining whether the view reaches the preset boundary according to the scroll position position. If the view is a list view, the boundary position of the view is the position corresponding to the first view and the last view in the list; if the view is a multiplexed view, the boundary position of the view may be a waterfall flow view. The view in the first or last row of the view is completely visible to the corresponding position; if the view is a sliding view, the boundary position of the view can be the view in the view list sliding to the last view or the reverse sliding of the first view s position.
- the user may be prompted to have the content of the view reached the displayable boundary by executing S340-S360 described below.
- the operation of moving down the finger may be followed by the operation of continuing the downward sliding of the finger.
- the end operation may be, for example, stopping the continuing scrolling operation for the view, ie stopping the movement event, such as an operation of lifting or releasing the finger.
- the view After obtaining the end operation, it may be determined whether the current position of the view has exceeded the preset boundary position.
- the view may be viewed from the current by performing S360.
- the position moves to the preset boundary position, that is, the view is reversely moved to the preset boundary position.
- the position of the view can be moved from the current position to the preset boundary position by displaying the animation corresponding to the reverse movement.
- the content of the view may be prompted to reach the displayable boundary by performing S370 described below.
- the preset pattern described in the present invention may be a pattern different from the view, for example, may be a grayscale graphic, and the grayscale graphic may be displayed on the view in a superimposed manner.
- it may be a pattern formed by performing specific processing on the view, such as repeatedly displaying the original view or lengthening or shortening the original view.
- a plurality of prompting manners can be used to prompt the content of the view to reach a displayable boundary, which increases the applicability of the view display method.
- FIG. 4 is a schematic structural diagram of a view display device according to an embodiment of the present invention.
- the functional modules included in the view display device 400 may be implemented by hardware, software, or a combination of hardware and software that implements the principles of the present invention.
- the functional blocks depicted in FIG. 4 can be combined or divided into sub-modules to implement the principles of the above described invention. Accordingly, the description herein may support any possible combination, or division, or further limitation of the functional modules described herein.
- the view display device 400 includes an acquisition module 410, a determination module 420, and a display control module 430.
- the obtaining module 410 is configured to obtain an application program interface for a preset display effect, where the application program interface encapsulates multiple implementation conditions of the preset display effect, where different implementation conditions correspond to different view types.
- the determining module 420 is configured to determine, from the application interface, an implementation condition of the preset display effect corresponding to the view type, where the view type is a type of the view provided by the application.
- the display control module 430 is configured to display the view according to the preset view display effect when the view satisfies the implementation condition of the preset display effect corresponding to the view.
- the implementation condition of the preset display effect is a determination condition that the view reaches a predetermined boundary position.
- the display control module 430 is configured to prompt the user that the content of the view has reached the displayable boundary in response to the operation of moving to the boundary position for the view after the view reaches the predetermined boundary position.
- the obtaining module 410 is configured to acquire a scrolling operation or a sliding operation input for the view.
- the view display device 400 may further include:
- the determining module is configured to determine whether the view satisfies the implementation condition of the preset display effect under the action of the scrolling operation or the sliding operation.
- the display control module 430 is specifically configured to display a preset pattern at the boundary position to prompt that the content of the view has reached a displayable boundary, and/or continue to move the view in response to the end of the input for the view Action, moving the view from the current position to the boundary position to indicate that the content of the view has reached the displayable boundary.
- the method according to the invention may also be embodied as a computer program or computer program product comprising computer program code instructions for performing the various steps defined above in the above method of the invention.
- the present invention may be embodied as a non-transitory machine readable storage medium (or computer readable storage medium, or machine readable storage medium) having stored thereon executable code (or computer program, or computer instruction code)
- executable code or computer program, or computer instruction code
- a processor of an electronic device or computing device, server, etc.
- each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions.
- the functions noted in the blocks may also occur in a different order than the ones in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (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
公开了一种视图显示方法、装置、设备及存储介质。该方法包括获取预设显示效果的应用程序接口,其中封装有预设视图显示效果的多个实现条件;从应用程序接口确定视图类型对应的该预设显示效果的实现条件,在视图满足该视图类型对应的该预设显示效果的实现条件时,按照该预设显示效果显示该视图。
Description
本发明涉及互联网技术领域,特别是涉及一种视图显示方法、装置、设备及存储介质。
随着智能移动设备的不断普及与发展,针对智能移动设备开发的各种应用程序(APPlication,APP)层出不穷。应用程序的用户界面(User Interface,UI)一般是由视图(View)和视图组(ViewGroup)及其派生类组合而成的。其中,视图是所有用户界面的基类,而视图组是容纳这些组件的容器,其本身也是从View派生出来的。作为容器的视图组可以包含作为叶子节点的View,也可以包含作为更低层次的子视图组,而子视图组又可以包含下一层的叶子节点的视图和视图组。事实上,这种灵活的视图层次结构可以形成非常复杂的UI布局,开发者可据此设计、开发非常精致的UI界面。
为了提高用户的UI体验,在应用程序的开发过程中,开发者在设计视图时,还会为其赋予一定的视图显示效果。但是对于同一视图显示效果而言,不同类型的View实现所述视图显示效果的条件可能不同,因此开发者需要根据不同的View类型编写相应的代码以实现预设的视图显示效果,这无疑会增加代码的复杂度,提高开发成本。
因此,如何在需要为View赋予一定的视图显示效果时,降低开发者在设计过程中的复杂度以节约开发成本,是目前面临的主要问题。
发明内容
本发明提供一种视图显示方法、装置、设备及存储介质,以降低开发过程中,视图显示效果过程中的实现复杂度,节约开发成本。
根据本发明的一个方面,提供了一种视图显示方法,包括:
获取针对预设显示效果的应用程序接口,所述应用程序接口中封装有所述预设视图显示效果的多个实现条件,其中,不同实现条件对应于不同的视 图类型;
从所述应用程序接口中,确定视图类型对应的所述预设显示效果的实现条件;所述视图类型为应用程序所提供视图的类型;
在所述视图满足所述视图类型对应的所述预设显示效果的实现条件时,按照所述预设视图显示效果显示所述视图。
由此,在为视图赋予预设显示效果时,无需考虑视图的具体逻辑,无需针对不同的view类型编写对应的代码,仅需要将视图接入预先设计好的应用程序接口即可,一行或数行代码即可实现该过程,代码倾入性很低,降低开发过程中,视图显示效果过程中的实现复杂度,大大降低了开发成本。
可选地,所述预设显示效果的实现条件为视图达到预设边界位置的判定条件;
所述根据预设显示效果显示所述视图,包括:
在所述视图达到所述预设边界位置后,响应于针对所述视图输入的向所述边界位置外部移动的操作,提示所述视图的内容已达到可展示边界。
由此,本发明的视图显示方法尤其适用于基于用户交互实现的视图显示效果。
可选地,所述在视图满足所述视图类型对应的所述预设显示效果的实现条件时,按照所述预设显示效果显示所述视图之前,所述方法还可以包括:
获取输入的针对所述视图的滚动操作或滑动操作;
判断所述视图在所述滚动操作或所述滑动操作的作用下,是否满足所述视图类型对应的所述预设显示效果的实现条件。
由此,在视图显示方法为基于用户交互实现的视图显示效果时,可以根据视图的触控事件,确定视图的滚动位置,以此判断视图是否到达边界位置。
可选地,所述提示所述视图的内容已达到可展示边界,可以包括:
在所述边界位置处显示预定图案,以提示所述视图的内容已达到可展示边界;和/或,
继续移动所述视图,响应于针对所述视图输入的结束操作,将所述视图从当前位置移动至所述边界位置。
由此,在实际应用中可以根据需要选取合适的提示方式提示用户视图的内容已达到可展示边界。
根据本发明的另一个方面,还提供了一种视图显示装置,包括:
获取模块,用于获取针对预设显示效果的应用程序接口,所述应用程序接口封装有所述预设视图显示效果的多个实现条件,其中,不同实现条件对应不同的视图类型;
确定模块,用于从所述应用程序接口中,确定视图类型对应的所述预设显示效果的实现条件;所述视图类型为应用程序提所供视图的类型;
显示控制模块,用于在所述视图满足所述视图类型对应的所述预设显示效果的实现条件时,按照所述预设显示效果显示所述视图。
可选地,该预设显示效果的实现条件为视图达到预定边界位置的判定条件。
所述显示控制模块,具体用于在所述视图达到所述预设边界位置后,响应于针对所述视图输入的向所述边界位置外部移动的操作,提示用户所述视图的内容已达到可展示边界。
可选地,视图显示装置还包括:
获取模块,用于获取针对所述视图的滚动操作或滑动操作;
判断模块,用于判断所述视图在所述滚动操作或所述滑动操作的作用下,是否满足所述预设显示效果的实现条件。
可选地,所述显示控制模块,具体用于在所述边界位置处显示预定图案,以提示所述视图的内容已达到可展示边界;和/或,继续移动视图,响应于针对所述视图输入的结束操作,将所述视图从当前位置移动至所述边界位置。
根据本发明的另一个方面,还提供了一种计算设备,包括:显示器;处理器;以及存储器,其上存储有可执行代码,当可执行代码被处理器执行时,使处理器执行上文述及的视图显示方法。
根据本发明的另一个方面,还提供了一种计算机可读存储介质,其上存储有可执行代码,当可执行代码被电子设备的处理器执行时,使处理器执行上文述及的视图显示方法。
综上,本发明的视图显示方法、装置、设备及存储介质,可通过获取针对预设显示效果的应用程序接口,从该应用程序接口确定应用程序所提供的视图类型对应的该预设显示效果的实现条件,并在该视图满足该视图类型对应的该预设显示效果的实现条件时,根据该预设显示效果显示该视图。由此, 在为View赋予预设显示效果时,无需再考虑View的具体逻辑,无需针对不同的view类型编写对应的代码,仅根据预设显示效果的应用程序接口对应的代码即可实现,代码倾入性很低,降低开发过程中,视图显示效果过程中的实现复杂度,大大降低了开发成本。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例的计算设备的结构示意图;
图2为本发明实施例的一种视图显示方法的流程图;
图3为本发明实施例的另一种视图显示方法的流程图;
图4为本发明实施例的视图显示装置的结构示意图。
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。
为了更好地理解本发明,在描述本发明之前,首先就本发明的一种适用场景进行说明。
安装并运行在终端设备上的APP可以提供静态视图,也可提供动态视图。其中,动态视图可包括:列表视图(ListView)、复用视图(RecyclerView)、滑动视图(ViewPager)等多种类型的视图。为了提高用户的视觉体验,在用户浏览视图达到视图的边界位置继续滚动时,往往会在边界处显示特定的视图显示效果,以提示用户视图的内容已经展示完毕。但是列表视图、复用视图、滑动视图等类型的视图的边界判断条件不一。不同的边界判断条件对应了同一预设显示效果的不同实现条件。例如,列表视图的边界位置是列表中的第一个视图、最后一个视图完全可见所对应的位置;复用视图的临界点是瀑布流视图中第一行或最后一行中的视图完全可见所对应的位置;滑动视图的临界点是视图列表中滑动到最后一个视图或反向滑动第一个视图所对应的位置。
因此,为了实现同一视图显示效果,需要根据其提供的视图类型,编写对应的代码以实现边界判断逻辑,这无疑会增加代码的复杂度,增加开发成本。
有鉴于此,本发明提出了一种新的视图显示方案。该方案针对某一预设显示效果,可以设计一个面向应用程序的应用程序接口(Application Program Interface,API),所设计的应用程序接口中可以封装有该预设显示效果的多个实现条件。不同实现条件对应不同的视图类型,由此,该应用程序接口中封装有多个视图类型对应的该预设显示效果的实现条件。如此,在应用开发过程中为视图(View)赋予预设显示效果时,可以直接从该预设显示效果对应的应用程序接口中选取与应用程序所提供的视图类型对应的该预设显示效果的实现条件,并在该视图满足该视图类型对应的该预设显示效果的实现条件时,根据该预设显示效果显示该视图。由此,在视图赋予预设显示效果时,无需再考虑视图的具体逻辑,无需针对不同的视图类型编写对应的代码,仅根据预设显示效果的应用程序接口对应的代码即可实现,即通过一行或数行代码便可实现,代码倾入性很低,降低了开发过程中,视图显示效果过程中的实现复杂度,大大降低了开发成本。
需要说明的是,本发明通篇述及的应用程序接口(API)也可以视为一种框架(framework),即可以将多种视图类型对应的该预设显示效果的实现条件封装在一个框架中。另外,框架还可以另外提供面向开发者的接口,开发 者可以通过该接口实现框架中未涉及的针对某些自定义视图的方法,开发者提供该接口实现的针对自定义视图的方法也可以保存在框架中,供其他开发者使用。
另外,本发明述及的视图显示效果可以是多种类型的UI效果,优选地可以是与用户交互有关的视图显示效果。例如可以是过度滚动(OverScroll)的UI效果,过度滚动的UI效果即当View达到临界点不能再继续滑动,此时整个视图跟随手指的滑动而滑动,在手指松开后视图反弹到临界点。再例如,还可以是其它边界提示效果,如还可以是手指滑动视图达到临界点后,视图不再跟随手指的滑动而滑动,而在临界点处显示特定的图像以提示用户视图达到边界。当然,本发明述及的视图显示效果还可以是其它多种类型的UI效果,这里不再赘述。
下面结合具体实施例就本发明的视图显示方案做详细说明。
图1为本发明实施例的计算设备的结构示意图。本发明提出的视图显示方法可以应用于图1所示的计算设备100,即可以由图1所示的计算设备100实现本发明的视图显示方法。
计算设备100可以是台式机、便携式计算机、平板电脑、智能手机、个人数据助理(PDA),或者其他类型的计算机装置,但是不限于任何特定形式。计算设备100可以包括但不限于显示器110、处理器120以及存储器130。
显示器110可以用于显示运行在计算设备100上的应用的UI界面。显示器110可以包括各种类型的图像显示设备,例如阴极射线管(Cathode Ray Tube,CRT)的显示器、液晶显示器(Liquid Crystal Display,LCD)、发光二极管(Light-Emitting Diode,LED)显示器、有机发光二极管(Organic Light-Emitting Diode,OLED)、投射系统等等与其他支持电子装置如数字模拟转换器(Digital to Analog Converter,DAC)、模拟数字转换器(Analog-to-Digital Converter,ADC)、信号处理器等等的集合。在一些实施方式中,也可能额外提供其他用户输出设备,或者取代显示器110,例如信号灯、扬声器、触觉传感器、打印机等。
处理器120可以是一个多核的处理器,也可以包含多个子处理器。在一些实施例中,处理器120可以包含一个通用的主处理器以及一个或多个特殊的协处理器,例如图形处理器(Graphics Processing Unit,GPU)、数字信 号处理器(Digital Signal Processor,DSP)等等。
存储器130可以包括存储文件形式或其他形式的内容的任何类型的存储设备中的一个或多个,包括磁硬盘驱动器、固态硬驱、半导体存储设备、闪存,或者能够存储程序指令或数字信息的任何其他计算机可读可写存储介质。存储器130上可以存储有可执行代码,在本发明中,当存储器130上的可执行代码被处理器120执行时,可以使处理器120执行图2所示的视图显示方法。
图2为本发明实施例的一种视图显示方法的流程图。参见图2,该视图显示方法可包括如下:
S210、获取针对预设显示效果的应用程序接口。
该应用程序接口中封装有该预设显示效果的多个实现条件,其中,不同实现条件对应不同的视图类型。针对不同的视图类型,该多个实现条件对应于同一该预设显示效果。该预设显示效果为预设的视图显示效果。
针对多个不同的显示效果,可具有多个应用程序接口,不同的应用程序接口用于实现不同的显示效果,即不同的应用程序接口中封装有不同显示效果的实现条件。
S220、从该应用程序接口中,确定该视图类型对应的该预设显示效果的实现条件,该视图类型为应用程序所提供视图的类型。
该应用程序接口可供应用程序调用。该应用程序例如可以为第三方应用程序,也可以为其它类型的应用程序。具体地,需为视图赋予预设显示效果时,可以获取该预设显示效果的应用程序接口,并通过调用该应用程序接口,从该应用程序接口中确定为该视图类型对应的该预设显示效果的实现条件。另外,该方法中,可在应用程序仅提供视图的情况下,通过调用该应用程序接口,从该应用程序接口中确定该该视图类型对应的该预设显示效果的实现条件。如此可以进一步降低开发者的开发逻辑,代码倾入性更低。
S230、在该视图满足该视图类型对应的该预设显示效果的实现条件时,按照该预设显示效果显示该视图。
该方法中,可在确定出该视图类型对应的该预设显示效果的实现条件时,可先判断该应用程序所提供的视图,是否满足该视图类型对应的该预设显示效果的实现条件,若满足,则执行该S220按照预设显示效果显示该视图,从 而赋予了该应用程序所提供的视图,该预设显示效果。
作为本发明的一个可选实施例,应用程序接口中除了封装该预设显示效果的多个实现条件外,还可以封装用于不同实现条件下,该视图与对应的实现条件的判断方法以及在满足实现条件的情况下的视图显示方法。
作为本发明的另一个可选实施例,应用程序接口可以采用便于开发者继承扩展的策略模式。如此,当应用程序接口中未封装有与该视图类型对应的该预设显示效果的实现条件时,可通过自定义或是其他的方式将该视图类型对应的该预设显示效果的实现条件封装到该应用程序接口中。
可选的,如上所述的该预设显示效果的实现条件可以为该视图达到预设的边界位置的判定条件。
由于不同的视图类型具有不同的边界位置判定条件。因此,上述该应用程序接口中,每种视图类型对应的该预设显示效果的实现条件可以为该类型的视图达到边界位置的判定条件。
可选的,如上文所述,本发明述及的预设显示效果可以为与用户交互有关的视图显示效果。因此,在该方法中,可获取用户针对该视图输入的操作(例如滚动操作、滑动操作等),然后判断在该操作的作用下该视图是否满足该视图类型对应的该预设显示效果的实现条件。其中,该滚动操作例如可以为通过鼠标或其它控制设备所输入的滚动操作。该滑动操作例如可以为通过触控面板所输入的滑动手势操作
本发明实施例提供的视图显示方法,可通过获取针对预设显示效果的应用程序接口,从该应用程序接口确定应用程序所提供的视图类型对应的该预设显示效果的实现条件,并在该视图满足该视图类型对应的该预设显示效果的实现条件时,根据该预设显示效果显示该视图。由此,在为视图赋予预设显示效果时,无需再考虑视图的具体逻辑,无需针对不同的视图类型编写对应的代码,仅根据预设显示效果的应用程序接口对应的代码即可实现,代码倾入性很低,降低开发过程中,视图显示效果过程中的实现复杂度,大大降低了开发成本。
图3为本发明实施例的另一种视图显示方法的流程图。下面以预设显示效果为视图达到边界位置后的提示效果,该预设显示效果实现条件为视图达到预定边界位置的判定条件为例详细说明上述图2中S220中根据预设显示效 果显示该视图的实现过程。
不同的视图类型具有不同的视图特征,在本实施例中,可以预先根据不同View的特性封装不同的工厂方法(即边界判断方法),以形成一个应用程序接口(或称为框架),这里述及的边界判断方法可以包括视图的边界判断条件、该视图达到边界位置时的判断方法、以及该视图达到边界位置后视图显示的实现方法等。
由此,应用程序可以将提供的视图传递给封装好的框架,由框架执行图3所示的方法,以实现视图的边界判断及显示等。
如图3所示,该方法可包括:
S310、获取针对该视图的触控操作。
该方法中,可通过拦截针对该视图的触控(Touch)事件,获取该触控操作。此处可以该视图(或称为目标视图)的所有触控事件全部截断,也可以进先拦截该视图的部分触控时间。该部分触控事件例如可以为:针对该视图的动作移动(ACTION_MOVE)事件、停止移动(ACTION_UP)事件等触控事件。其中,该动作移动事件可以为移动视图,例如手指移动等;该停止移动事件例如可以为停止移动视图,例如手指松开。
该视图的触控事件可以是由用户针对该视图输入的滚动操作或滑动操作。例如,该滚动操作例如可以是用户通过鼠标输入的引起该视图移动的滚动操作,也可以是用户通过触控面板输入的引起视图移动的滑动操作。
S320、根据该触控操作,确定该视图的滚动位置。
S330、根据该滚动位置判断该视图是否达到预设的边界位置。
如上文所述,不同类型的视图达到边界位置的条件不同,因此可以根据视图的具体属性或者类型,确定该视图类型对应的边界位置,继而根据该滚动位置确定该视图是否达到该预设的边界位置。若该视图为列表视图,则该视图的边界位置为列表中第一个视图、最后一个视图完全可见所对应的位置;若该视图为复用视图,则该视图的边界位置可以为瀑布流视图中第一行或最后一行中的View完全可见所对应的位置;若该视图为滑动视图,则该视图的边界位置可以为视图列表中滑动到最后一个View或反向滑动第一个View所对应的位置。
若通过执行上述S330确定该视图达到预设的边界位置后,可以有多种提 示方式,用以提示用户该视图的内容已达到可展示边界。
在一种方式中,可以通过执行下述S340-S360,提示用户该视图的内容已达到可展示边界。
S340、在该视图达到该预设的边界位置后,响应于针对该视图输入的继续滚动操作或滑动操作,继续移动该视图。
例如在该视图到达该预设的边界位置如上临界点时,可跟随手指继续向下滑动的操作,对该视图进行向下移动的操作。
S350、获取针对该视图输入的结束操作。
该结束操作例如可以为停止针对该视图的继续滚动操作,即停止移动事件,例如手指抬起或松开的操作。
S360、响应于该结束操作,将该视图从当前位置移动至该预设的边界位置,以提示该视图的内容已达到可展示边界。
在获取到该结束操作后,可判断该视图的当前位置是否已经超过该预设的边界位置,在确定该视图的当前位置超过该预设的边界位置时,可以通过执行S360将该视图从当前位置移动至该预设的边界位置,即将该视图反向移动到该预设边界位置。这里可以通过显示反向移动对应的动画,将该视图的位置从当前位置移动到该预设的边界位置。
在另一种方式中,可以通过执行下述S370提示用户该视图的内容已达到可展示边界。
S370、在该视图达到该预设的边界位置后,在该预设显示位置显示预设图案,以提示该视图的内容已达到可展示边界。
其中,本发明述及的该预设图案可以是不同于该视图的图案,例如可以是灰度图形,灰度图形可以以叠加的形式显示在该视图之上。再例如,也可以是对该视图进行特定处理后形成的图案,如可以是重复显示原视图,或者将原视图拉长或缩短。
该方法中,可通过多种提示方式,以提示该视图的内容达到可展示边界,推高了视图显示方法的适用性。
本发明的视图显示方案还可以实现为一种视图显示装置。图4为本发明实施例的视图显示装置的结构示意图。其中,视图显示装置400所包括的各功能模块可以由实现本发明原理的硬件、软件或硬件和软件的结合来实现。 本领域技术人员可以理解的是,图4所描述的功能模块可以组合起来或者划分成子模块,从而实现上述发明的原理。因此,本文的描述可以支持对本文描述的功能模块的任何可能的组合、或者划分、或者更进一步的限定。
下面仅就视图显示装置400可以具有的功能模块以及各功能模块可以执行的操作做简要说明,对于其中涉及的细节部分可以参见上文描述,这里不再赘述。
参见图4,视图显示装置400包括获取模块410、确定模块420以及显示控制模块430。
获取模块410,用于获取针对预设显示效果的应用程序接口,该应用程序接口中封装有该预设显示效果的多个实现条件,其中,不同实现条件对应不同的视图类型。
确定模块420用于从应用程序接口中确定视图类型对应的该预设显示效果的实现条件,该视图类型为应用程序提供的视图的类型。
显示控制模块430用于在该视图满足该视图乐西对应的该预设显示效果的实现条件时,按照该预设视图显示效果显示该视图。
作为本发明的一个可选实施例,该预设显示效果的实现条件为视图达到预定的边界位置的判定条件。
显示控制模块430,具体用于在该视图达到预定的边界位置后,响应于针对该视图输入的向该边界位置外部移动的操作,提示用户该视图的内容已达到可展示边界。
如图4所示,获取模块410,用于获取针对该视图输入的滚动操作或滑动操作。
视图显示装置400还可包括:
判断模块,用于判断该视图在滚动操作或滑动操作的作用下,是否满足该预设显示效果的实现条件。
可选的,显示控制模块430,可具体用于在该边界位置处显示预设图案,以提示视图的内容已达到可展示边界,和/或,继续移动视图,响应于针对该视图输入的结束操作,将视图从当前位置移动至该边界位置以提示该视图的内容已达到可展示边界。
上文中已经参考附图详细描述了根据本发明的视图显示方法、装置以及 计算设备。
此外,根据本发明的方法还可以实现为一种计算机程序或计算机程序产品,该计算机程序或计算机程序产品包括用于执行本发明的上述方法中限定的上述各步骤的计算机程序代码指令。
或者,本发明还可以实施为一种非暂时性机器可读存储介质(或计算机可读存储介质、或机器可读存储介质),其上存储有可执行代码(或计算机程序、或计算机指令代码),当所述可执行代码(或计算机程序、或计算机指令代码)被电子设备(或计算设备、服务器等)的处理器执行时,使所述处理器执行根据本发明的上述方法的各个步骤。
本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。
附图中的流程图和框图显示了根据本发明的多个实施例的系统和方法的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标记的功能也可以以不同于附图中所标记的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。
Claims (10)
- 一种视图显示方法,其特征在于,包括:获取针对预设显示效果的应用程序接口,所述应用程序接口中封装有所述预设显示效果的多个实现条件,其中,不同实现条件对应不同的视图类型;从所述应用程序接口中,确定视图类型对应的所述预设显示效果的实现条件;所述视图类型为应用程序所提供视图的类型;在所述视图满足所述视图类型对应的所述预设显示效果的实现条件时,按照所述预设显示效果显示所述视图。
- 根据权利要求1所述的视图显示方法,其特征在于,所述预设显示效果的实现条件为视图达到预设的边界位置的判定条件;所述根据所述预设显示效果显示所述视图,包括:在所述视图达到所述边界位置后,响应于针对所述视图输入的向所述边界位置外部移动的操作,提示所述视图的内容已达到可展示边界。
- 根据权利要求1所述的视图显示方法,其特征在于,所述在视图满足所述视图类型对应的所述预设显示效果的实现条件时,按照所述预设显示效果显示所述视图之前,所述方法还包括:获取输入的针对所述视图的滚动操作或滑动操作;判断所述视图在所述滚动操作或滑动操作的作用下,是否满足所述视图类型对应的所述预设显示效果的实现条件。
- 根据权利要求2所述的视图显示方法,其特征在于,所述提示所述视图的内容已达到可展示边界,包括:在所述边界位置处显示预定图案,以提示所述视图的内容已达到可展示边界;和/或,继续移动所述视图;响应于针对所述视图输入的结束操作,将所述视图从当前位置移动至所述边界位置,以提示所述视图的内容已达到可展示边界。
- 一种视图显示装置,其特征在于,包括:获取模块,用于获取针对预设显示效果的应用程序接口,所述应用程序接口封装有所述预设显示效果的多个实现条件,其中,不同实现条件对应不同的视图类型;确定模块,用于从所述应用程序接口中,确定视图类型所对应的所述预设显示效果的实现条件;所述视图类型为应用程序所提供视图的类型;显示控制模块,用于在所述视图满足所述视图类型对应的所述预设显示效果的实现条件时,按照所述预设显示效果显示所述视图。
- 根据权利要求5所述的视图显示装置,其特征在于,所述预设显示效果的实现条件为视图达到预设的边界位置的判定条件;所述显示控制模块,具体用于在所述视图达到所述边界位置后,响应于针对所述视图输入的向所述边界位置外部移动的操作,提示用户所述视图的内容已达到可展示边界。
- 根据权利要求6所述的视图显示装置,其特征在于,所述获取模块,具体用于获取针对所述视图的滚动操作或滑动操作;所述视图显示装置还包括:判断模块,用于判断所述视图在所述滚动操作或滑动操作的作用下,是否满足所述预设显示效果的实现条件。
- 根据权利要求6所述的视图显示装置,其特征在于,所述显示控制模块,具体用于在所述边界位置处显示预定图案,以提示所述视图的内容已达到可展示边界;和/或,继续移动所述视图,响应于针对所述视图输入的结束操作,将所述视图从当前位置移动至所述边界位置,以提示所述视图的内容已达到可展示边界。
- 一种计算设备,其特征在于,包括:显示器;处理器;以及存储器,其上存储有可执行代码,当所述可执行代码被所述处理器执行时,使所述处理器执行如权利要求1-4中任何一项所述的方法。
- 一种计算机可读存储介质,其上存储有可执行代码,当所述可执行代码被电子设备的处理器执行时,使所述处理器执行如权利要求1至4中任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711011445.X | 2017-10-25 | ||
| CN201711011445.XA CN107729010B (zh) | 2017-10-25 | 2017-10-25 | 视图显示方法、装置、计算设备以及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019080665A1 true WO2019080665A1 (zh) | 2019-05-02 |
Family
ID=61213628
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/105851 Ceased WO2019080665A1 (zh) | 2017-10-25 | 2018-09-14 | 视图显示方法、装置、设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107729010B (zh) |
| WO (1) | WO2019080665A1 (zh) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107729010B (zh) * | 2017-10-25 | 2021-01-26 | 阿里巴巴(中国)有限公司 | 视图显示方法、装置、计算设备以及存储介质 |
| CN109165070A (zh) * | 2018-08-17 | 2019-01-08 | 广州优视网络科技有限公司 | 视图处理方法、装置、及电子设备 |
| CN111506242A (zh) * | 2020-05-28 | 2020-08-07 | 支付宝(杭州)信息技术有限公司 | 实现页面视图的弹性滚动效果的方法及装置和电子设备 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104375755A (zh) * | 2013-08-14 | 2015-02-25 | 联想(北京)有限公司 | 信息处理方法和信息处理设备 |
| CN105677357A (zh) * | 2016-01-12 | 2016-06-15 | 腾讯科技(北京)有限公司 | 媒体信息处理方法及移动终端 |
| CN106155551A (zh) * | 2016-06-30 | 2016-11-23 | 努比亚技术有限公司 | 信息处理方法和终端 |
| CN107729010A (zh) * | 2017-10-25 | 2018-02-23 | 广州优视网络科技有限公司 | 视图显示方法、装置、计算设备以及存储介质 |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7412687B2 (en) * | 2003-10-15 | 2008-08-12 | International Business Machines Corporation | Creating customized applications using templates having points of variability |
| CN102314282B (zh) * | 2010-06-29 | 2016-04-20 | 腾讯科技(深圳)有限公司 | 一种基于滚动控件实现内容选择的方法及装置 |
| CN103513874B (zh) * | 2012-06-27 | 2017-12-19 | 腾讯科技(深圳)有限公司 | 信息显示的方法及装置 |
| CN103699313B (zh) * | 2012-09-27 | 2017-09-22 | 腾讯科技(深圳)有限公司 | 一种拖动刷新数据的方法和装置 |
| CN103064787B (zh) * | 2012-12-21 | 2015-06-10 | 清华大学 | 一种基于扩展接口自动机模型的嵌入式组件建模与测试方法 |
| EP3238052A1 (en) * | 2014-12-22 | 2017-11-01 | Eaton Industries (Netherlands) B.V. | Computer implemented method for displaying a user interface |
| CN104881233B (zh) * | 2015-05-15 | 2019-03-15 | 广东小天才科技有限公司 | 触控界面中的滑动控制方法和装置 |
| CN105354237B (zh) * | 2015-10-09 | 2020-06-26 | 上海瀚之友信息技术服务有限公司 | 一种业务数据展示方法 |
| CN105893009A (zh) * | 2015-11-16 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | 基于Android平台的自定义控件的显示方法和装置 |
| CN106126253B (zh) * | 2016-06-30 | 2021-07-16 | 海尔优家智能科技(北京)有限公司 | 一种应用程序视图生成图像的方法及装置 |
| CN106598610B (zh) * | 2016-12-19 | 2020-06-02 | 北京小米移动软件有限公司 | 基于网页应用的刷新实现方法及装置 |
-
2017
- 2017-10-25 CN CN201711011445.XA patent/CN107729010B/zh active Active
-
2018
- 2018-09-14 WO PCT/CN2018/105851 patent/WO2019080665A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104375755A (zh) * | 2013-08-14 | 2015-02-25 | 联想(北京)有限公司 | 信息处理方法和信息处理设备 |
| CN105677357A (zh) * | 2016-01-12 | 2016-06-15 | 腾讯科技(北京)有限公司 | 媒体信息处理方法及移动终端 |
| CN106155551A (zh) * | 2016-06-30 | 2016-11-23 | 努比亚技术有限公司 | 信息处理方法和终端 |
| CN107729010A (zh) * | 2017-10-25 | 2018-02-23 | 广州优视网络科技有限公司 | 视图显示方法、装置、计算设备以及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107729010B (zh) | 2021-01-26 |
| CN107729010A (zh) | 2018-02-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11036345B2 (en) | System and method for on-screen graphical user interface encapsulation and reproduction | |
| CN103365761B (zh) | 进度条 | |
| US10620920B2 (en) | Automatic graphical user interface generation from notification data | |
| US8468514B2 (en) | System and method for updating unified extensible firmware interface setting information | |
| US10775971B2 (en) | Pinch gestures in a tile-based user interface | |
| CN103970411B (zh) | 用于配制屏幕的方法和电子装置 | |
| WO2019033995A1 (zh) | 一种页面更新方法和装置 | |
| CN106970868A (zh) | 信息显示方法、装置及终端 | |
| US10747510B1 (en) | Application runtime modification | |
| US12340209B2 (en) | Runtime application modification of a user interface | |
| US10163245B2 (en) | Multi-mode animation system | |
| CN112148166A (zh) | 桌面组件管理方法及装置 | |
| JP2015507805A5 (zh) | ||
| US9558014B2 (en) | System, method and apparatus for transparently enabling software applications with adaptive user interfaces | |
| TW201918865A (zh) | 頁面資訊顯示方法、裝置和客戶端 | |
| WO2019080665A1 (zh) | 视图显示方法、装置、设备及存储介质 | |
| CN110020231A (zh) | 网页截图方法及其装置 | |
| US8698835B1 (en) | Mobile device user interface having enhanced visual characteristics | |
| CN103345497B (zh) | 一种电子设备上网页缩放的方法和装置 | |
| CN110471700A (zh) | 图形处理方法、装置、存储介质及电子设备 | |
| US9710234B2 (en) | Generating software code | |
| US20180300160A1 (en) | Host and Component Relationship between Applications | |
| CN110851187B (zh) | 显存处理方法、装置、设备和介质 | |
| CN115408051A (zh) | 应用程序的模式切换方法、装置、电子设备及存储介质 | |
| CN113342427B (zh) | 程序控制方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18871410 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18871410 Country of ref document: EP Kind code of ref document: A1 |