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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com