Menu item display method, wearable device and computer readable storage medium
A display method and wearable device technology, applied in the direction of user interface execution, program control devices, etc., can solve the problems of reducing the operating efficiency of wearable devices and reducing user experience, so as to improve user experience, avoid system resource consumption, and simplify user experience. The effect of the operation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0069] Such as figure 2 As shown, the first embodiment of the present application provides a method for displaying menu items, which is used in wearable devices, and the method for displaying menu items includes:
[0070] Step S21 , receiving an expansion instruction of a first-level menu item in the layout container.
[0071] In this embodiment, the layout container is the container of the menu item list. Taking the Android operating system as an example, RecyclerView, the most flexible list control in Android, can be used as the container of the entire menu item list. RecyclerView is a new SDK added in the Android L version to replace ListView. Its flexibility and replaceability are better than ListView. It only maintains a small number of Views and can display large data sets.
[0072] In this embodiment, the unfolding instruction includes, but is not limited to, input by the user through touching the display screen, or triggered by the system during the running of the w...
no. 2 example
[0100]Such as Figure 7 As shown, the second embodiment of the present application provides a wearable device, the wearable device includes a memory 61, a processor 62, and a menu item display stored in the memory 61 and operable on the processor 62 Program, when the menu item display program is executed by the processor 62, it is used to realize the steps of the menu item display method described below:
[0101] Receive the expansion command of the first-level menu item in the layout container;
[0102] In the case of receiving the expansion instruction of the first-level menu item, obtain all the second-level menu items to which the first-level menu item belongs according to the parent-child mapping relationship of the menu items;
[0103] Add all the secondary menu items to which the primary menu item belongs to the adapter, and notify the layout container to execute the first interface refresh operation.
[0104] When the menu item display program is executed by the proc...
no. 3 example
[0128] The third embodiment of the present application provides a computer-readable storage medium, where a menu item display program is stored on the computer-readable storage medium, and when the menu item display program is executed by a processor, it is used to implement the method described in the first embodiment. The menu items show the steps of the method.
[0129] It should be noted that the computer-readable storage medium in this embodiment belongs to the same idea as the method in the first embodiment, and its specific implementation process is detailed in the method embodiment, and the technical features in the method embodiment are all described in this embodiment. Correspondingly applicable, no more details here.
[0130] The computer-readable storage medium of the embodiment of the present application flatly expands all the second-level menu items to which the first-level menu items belong by receiving the expansion command of the first-level menu items in the ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


