Method and device for dynamically generating setting item list views

A technology of list view and dynamic generation, applied in the direction of program control device, etc., can solve the problems of error-prone, complicated operation of dynamically generated setting item list view, etc., and achieve the effect of simplifying the operation.

Active Publication Date: 2013-05-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem of complex and error-prone operations for dynamically generating a list view of setting it

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for dynamically generating setting item list views
  • Method and device for dynamically generating setting item list views
  • Method and device for dynamically generating setting item list views

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] see image 3 , the embodiment of the present invention provides a method for dynamically adding setting item list view, the method includes:

[0052] 301: Call the pre-packaged setting item list view management interface to generate the setting item list view layout, and add the view name and setting item name to the setting item list view layout;

[0053] This step does not need to define resource files and reference resource file definitions, but to generate a setting item list view layout, and add setting items to the setting item list view layout.

[0054] Specifically, generating the setting item list view layout can be implemented by an interface for generating the setting item list view layout, and adding the view name and setting item name in the setting item list view layout; the interface is a declaration of a series of methods, and some methods A collection of features, an interface has only method features without method implementation, so these methods can...

Embodiment 2

[0062] see Figure 4 , an embodiment of the present invention provides a method for dynamically generating a setting item list view, the method comprising:

[0063] 401: An interface for generating a setting item list view layout is implemented to generate a setting item list view layout, and add a view name and a setting item name;

[0064] This interface declares the method for generating the layout of the setting item list view. The generated setting item list view layout can include generating multiple setting item list views. This interface is used to implement the setting items in the setting item list view layout according to the needs of users Initialize the settings. The initialization process sets the default value for the setting item. This interface can also be used to restore the setting item to the default value when the user chooses to restore the default value of the setting item.

[0065] The specific implementation code of this interface is as follows:

[0...

Embodiment 3

[0092] see Image 6 , this embodiment provides a device for dynamically adding a setting item list view, the device includes:

[0093] The generating view layout module 601 is used to call the pre-packaged setting item list view management interface to generate the setting item list view layout, and add the view name and setting item name in the setting item list view layout;

[0094] An acquisition module 602, configured to acquire the type of the setting item and the value of the setting item in the setting item list view layout;

[0095] The view generating module 603 is configured to call a pre-packaged setting item list view management interface to generate a setting item list view according to the view name and setting item name, and the acquired setting item type and setting item value.

[0096] see Figure 7 , the above device further includes: an internal encapsulation module 604, configured to encapsulate the processing logic for generating a setting item list view...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for dynamically generating setting item list views and belongs to the technical field of user interfaces. The method includes calling a prepackaged setting item list view management interface to generate a setting item list view layout, and adding view names and setting item names in the setting item list view layout; acquiring types and values of the setting items in the setting item list view layout; and calling the setting item list view management interface to generate a setting item list view according to the view name, the setting item names and the types and the values of the setting items. By calling the packaged generated setting item list views and switching processing logic of the setting items and the setting item list views, the setting item list views can be generated without determining a resource file and considering complicated processing logic between types of the generated setting item list views, and operation of generating the setting item list views is simplified.

Description

technical field [0001] The invention relates to the technical field of user interface, in particular to a method and device for dynamically generating a setting item list view. Background technique [0002] Each application program installed on the mobile terminal needs to provide the user with certain control rights to allow the user to set the operating parameters of the application program. These need to generate multiple setting item list views, and each setting item list view includes a set of settings Items, among which the setting items include common setting items such as single selection, multiple selection, text input, and switch items. like figure 1 As shown, the QQ desktop application running on the mobile phone, in order to allow users to control the basic settings and interface settings, generates the setting item list view of the basic setting and the setting item list view of the interface setting, in the setting item list of the basic setting The view incl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 李飞云
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products