CN103092583B - A kind of method and device of dynamic generation setting option List View - Google Patents

A kind of method and device of dynamic generation setting option List View Download PDF

Info

Publication number
CN103092583B
CN103092583B CN201110340057.2A CN201110340057A CN103092583B CN 103092583 B CN103092583 B CN 103092583B CN 201110340057 A CN201110340057 A CN 201110340057A CN 103092583 B CN103092583 B CN 103092583B
Authority
CN
China
Prior art keywords
setting option
list view
option list
setting
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
CN201110340057.2A
Other languages
Chinese (zh)
Other versions
CN103092583A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110340057.2A priority Critical patent/CN103092583B/en
Publication of CN103092583A publication Critical patent/CN103092583A/en
Application granted granted Critical
Publication of CN103092583B publication Critical patent/CN103092583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of method and device of dynamic generation setting option List View, belong to user interface techniques field.Methods described includes:The setting option List View management interface encapsulated in advance is called to generate setting option List View layout, addition view name and setting option title in setting option List View layout;Obtain the type and the value of the setting option of setting option described in the setting option List View layout;The setting option List View management interface generation setting option List View is called according to the view name and setting option title, and the type of the setting option and the value of the setting option.The processing logic that the present invention generation setting option List View packaged by calling and setting option and setting option List View switch, generate setting option List View, resource file need not be defined, without the concern for the complex process logic between the class of generation setting option List View, the operation of generation setting option List View is simplified.

Description

A kind of method and device of dynamic generation setting option List View
Technical field
The present invention relates to user interface techniques field, the method for more particularly to a kind of dynamic generation setting option List View and Device.
Background technology
Each application program installed on mobile terminals is required for the control for being supplied to user certain, allows user to set The operational factor of application program is put, these are required for generating multiple setting option List Views, each setting option List View bag One group of setting option is included, being provided with item has a single choice, multiselect, text input, the conventional setting option such as first term.As shown in figure 1, operation QQ multipads on mobile phone, are controlled to allow user to set basic setup and interface, generate and set substantially The setting option List View that the setting option List View put and interface are set, includes in the setting option List View of basic setup Include skin selection and font in the setting options such as start automatic start, access point, the setting option List View that interface is set The setting options such as size, user can be configured to the value of setting option.
Generation setting option List View is realized on mobile terminals at present, for example, being realized on the S60 plateform systems of mobile phone Setting option List View is generated, the Carbide C++IDE instruments that can be provided using Nokia, with IDE New S60 UI Design visualizes the addition for completing setting option to generate setting option List View setting inside view;The method of use It is the resource definition that addition setting option List View is correspondingly arranged item inside resource file (rss files), then creates one Setting option List View, includes the extension class definition of two subclasses of CAknView and CAknSettingItemList, and in code Apply the resource of previous definition in the inside.As shown in Fig. 2 generation one setting option List View need succession realize CAknView and CAknSettingItemList, realizes a view using SettingsView, is included inside this view CAknSettingItemList subclasses, and constructed by the resource file SettingItemList.rss of oneself definition CAknSettingItemList subclasses, TSettingItemListSettings is comprising setting entry value, it is necessary to which developer oneself is real Load, preserved when exiting view before activation setting option List View now.
During the present invention is realized, inventor has found that prior art at least has problems with:
Because setting option List View content is defined by resource file, generation one setting option List View, it is necessary to Defined by resource file, in addition it is also necessary to realize CAknView and CAknSettingItemList subclasses, define new view and quote Resource file, generally generating a new setting option List View needs to newly increase the code file of more than 5 in engineering, in fortune Dynamically adjusted during row setting option implement it is very complicated;And the form of the definition of resource file is very strict, easily error, And can not position, for new hand, There is no way to begin.
The content of the invention
In order to solve dynamic generation setting option List View complex operation and the problem of easily malfunction, the embodiment of the present invention is carried A kind of method and device of dynamic generation setting option List View is supplied.The technical scheme is as follows:
A kind of method of dynamic generation setting option List View, methods described includes:
Call the setting option List View management interface encapsulated in advance to generate setting option List View layout, set described Addition view name and setting option title in item List View layout;
Obtain the type and the value of the setting option of setting option described in the setting option List View layout;
According to the view name and setting option title, and the acquisition the setting option type and the setting The value of item calls the setting option List View management interface generation setting option List View.
It is described to call before the setting option List View management interface that encapsulates in advance generates setting option List View layout, also Including:
Encapsulation generation setting option List View and setting option and the processing logic of setting option List View switching, obtain described Setting option List View management interface.
It is described to call the setting option List View management interface encapsulated in advance to generate setting option List View layout, described Addition view name and setting option title in setting option List View layout, including:
The setting option List View management interface encapsulated in advance is called to generate setting option List View layout;
The setting option List View management interface, is the setting option List View layout distribution and the view name Corresponding view ID values, are that each setting option distribution in the setting option List View layout is corresponding with the setting option title Setting option ID values.
The type and the value of the setting option for obtaining setting option described in the setting option List View layout, bag Include:
The type of the setting option and the value of the setting option are obtained from the data structure pre-saved.
The type of the setting option includes:Uniterming, multi-option, first term, text input, numeral input or slip Value.
It is described according to the view name and setting option title, and the type of the setting option of the acquisition and described The value of setting option is called after the setting option List View management interface generation setting option List View, in addition to:
Monitoring sets the change of entry value, if the value of setting option is revised as the second setting option by user by the first setting entry value Value, the then setting option List View management interface encapsulated in advance obtains described second and sets entry value, and changes the setting option row The value of setting option described in table view is the described second setting entry value.
The value of the type and the setting option according to the view name and the setting option of the acquisition is called After the setting option List View management interface generation setting option List View, in addition to:
When user selects to recover the default value of the setting option, by the setting option in the setting option List View Revert to default value.
A kind of device of dynamic generation setting option List View, described device includes:
View layout module is generated, the setting option List View management interface generation setting option row encapsulated in advance for calling Table view layout, addition view name and setting option title in setting option List View layout;
Acquisition module, type and the setting option for obtaining setting option described in the setting option List View layout Value;
Views module is generated, for the setting according to the view name and setting option title, and the acquisition The type of item and the value of the setting option call the setting option List View management interface generation setting option List View.
Described device also includes:
Enclosed inside module, switches for encapsulation generation setting option List View and setting option and setting option List View Processing logic obtains the setting option List View management interface.
The generation view layout module,
It is additionally operable to call the setting option List View management interface encapsulated in advance to generate setting option List View layout;
The setting option List View management interface, is the setting option List View layout distribution and the view name Corresponding ID values, are that each setting option in the setting option List View layout distributes set corresponding with the setting option title Put an ID value.
The acquisition module, specifically for:
The type of the setting option and the value of the setting option are obtained from the data structure pre-saved.
Also include monitoring modular:
Monitoring sets the change of entry value, if the value of setting option is revised as the second setting option by user by the first setting entry value Value, the then setting option List View management interface encapsulated in advance obtains described second and sets entry value, and changes the setting option row The value of setting option described in table view is the described second setting entry value.
The generation view layout module, is additionally operable to:
When user selects to recover the default value of the setting option, by the setting option in the setting option List View Revert to default value.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
The processing logic switched by encapsulating generation setting option List View and setting option and setting option List View is obtained Setting option List View management interface, during generation setting option List View, it is only necessary to call the setting option encapsulated in advance List View management interface generation setting option List View layout, adds view name and sets in setting option List View layout A title is put, the type and the value of setting option of setting option in setting option List View layout is obtained, and calls setting option list to regard Figure management interface generates setting option List View, it is not necessary to define resource file, it is not necessary to consider generation setting option List View Class between complex process logic, simplify generation setting option List View operation.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the schematic diagram of setting option List View;
Fig. 2 is the processing logical schematic that prior art generates setting option List View;
Fig. 3 is the method flow diagram for the dynamic generation setting option List View that the embodiment of the present invention 1 is provided;
Fig. 4 is the method flow diagram for the dynamic generation setting option List View that the embodiment of the present invention 2 is provided;
Fig. 5 is the interface diagram in the dynamic generation setting option List View that the embodiment of the present invention 2 is provided;
Fig. 6 is the structure drawing of device for the dynamic generation setting option List View that the embodiment of the present invention 3 is provided;
Fig. 7 is the dress for the dynamic generation setting option List View including enclosed inside module that the embodiment of the present invention 3 is provided Put structure chart;
Fig. 8 is the device knot for the dynamic generation setting option List View including monitoring modular that the embodiment of the present invention 3 is provided Composition.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Embodiment 1
Referring to Fig. 3, the embodiments of the invention provide a kind of method of dynamic addition setting option List View, this method bag Include:
301:Call the setting option List View management interface encapsulated in advance to generate setting option List View layout, setting Addition view name and setting option title in item List View layout;
The step need not carry out resource file definition, and quote resource file definition, but generation setting option list is regarded Figure layout, setting option is added in setting option List View layout.
Specifically, generation setting option List View layout can be used to generate setting option List View layout by one, Addition view name and the interface of setting option title are realized in setting option List View layout;Interface is the sound of serial of methods It is bright, it is the set of certain methods feature, only methodical feature does not have a methodical realization to an interface, therefore these methods can be with Realized in different places by different classes, the present embodiment realizes generation setting option List View layout, is regarded in setting option list Addition view name and the interface of setting option title in figure layout, the method for stating Initialize installation List View, specifically Which class user is implemented without by be concerned about.
302:Obtain the type and the value of setting option of setting option in setting option List View layout;
The step needs the type of setting option and the value of setting option in the setting option List View layout for generation to obtain Specific value.
Specifically, the type of setting option and the value of setting option can be by a data structures in setting option List View layout Realize, depositing the type of setting option and the value of setting option in a data structure in advance, and provide an interface is used to use Person obtains the type and the value of setting option of the setting option in data structure.
303:According to view name and setting option title, and the type of setting option and the value of setting option that obtain are called and set Put a List View management interface generation setting option List View.
The step does not need user to consider the complex process logic between the class of generation setting option List View, because setting A List View management interface is put by encapsulating generation setting option List View and setting option and setting option List View to switch Processing logic obtain, user only need to according to view name and obtain the type of setting option and the value of setting option call and set Setting option List View can just be generated by putting a List View management interface.
The present embodiment is by encapsulating the processing that generation setting option List View and setting option and setting option List View switch Logic obtains setting option List View management interface, during generation setting option List View, it is only necessary to generate setting option row Table view layout, addition view name and setting option title in setting option List View layout obtain setting option type and set The value of item is put, and calls setting option List View management interface to generate setting option List View, it is not necessary to resource file is defined, no Need to consider the complex process logic between the class of generation setting option List View, simplify the behaviour of generation setting option List View Make.
Embodiment 2
Referring to Fig. 4, the embodiments of the invention provide a kind of method of dynamic generation setting option List View, this method bag Include:
401:The interface for being used to generate setting option List View layout by one realizes generation setting option List View layout, And add view name and setting option title;
The method that the interface states generation setting option List View layout, the setting option List View layout of generation can be with Including generating multiple setting option List Views, the interface is used for during setting option List View is laid out the need for realizing according to user Setting option carry out Initialize installation, initialization procedure be setting option be provided with default value, the interface can be also used for working as user Selection recovers that setting option is reverted into default value when setting option default value.
The interface concrete implementation code is as follows:
Wherein, it is setting option row during the setting option during setting option List View is laid out carries out Initialize installation The title for the setting option that the view name and setting option List View layout of table view layout addition include, is all to call in advance The setting option List View management interface generation of encapsulation;Setting option List View management interface, is setting option List View layout Corresponding from the view name view ID values of distribution (the ID values of different views be all different, uniquely), are that setting option list is regarded Each setting option in figure layout distributes setting option ID values corresponding with the setting option title and (regarded in current setting option list In figure the ID values of different setting options be all it is different, uniquely).
402:Call a data structure, obtain the type and setting option of the setting option deposited in advance in data structure Value;
Setting option List View layout is generated, view name is added in setting option List View layout and key name is set Claim, user can't be made to operate view, obtain the manipulable setting option List View of user, in addition it is also necessary to have specific The value of setting option type and setting option, in this step by calling a data structure to obtain the value of setting option and setting option.
The data structure deposits the type of setting option and the value of setting option in advance, and provides a setting option style interface use The type and the value of setting option of the setting option in data structure are obtained in user, preservation is realized in the interface and loading is set The type of item is put, the type of setting option includes the bases such as uniterming, multi-option, first term, text input, numeral input, slip value This type, is no longer enumerated.User is by calling the interface to set the value of certain type of setting option, in life Into setting entry value can be loaded during setting option List View automatically, the setting being set can be automatically saved when view is exited The value of item.
The interface concrete implementation code is as follows:
User can also be by calling the interface to change the value of setting option, and such as user needs to set start self-starting The value for putting item is changed to "Off" by "ON", generate setting option List View during, user can by calling the interface, The value that setting option is "Off" is obtained from data structure, the value of the setting option obtained originally is revised as "Off" by "ON", is realized The modification of entry value is set.
403:Called according to the type of setting option and the value of setting option of view name and setting option title, and acquisition pre- The setting option List View management interface generation setting option List View first encapsulated;
The step has been sealed without the concern for the complex process logic between code used in generation setting option List View Have been realized in being used for dynamic generation setting option in the setting option List View management interface that the internal processing logic installed is provided The function of List View, is specifically included:Setting option List View, increase setting option List View, increase setting option etc. are generated, when It is the view of each setting option List View during according to generation setting option List View layout when generating setting option List View Title, view ID values corresponding with view name, the title for the setting option that any one setting option List View includes and setting The corresponding setting option ID values of item title, and the type of setting option and the value of setting option are obtained, call setting option List View to manage The function generation of setting option List View is generated in interface, ID values are all integer type, are easy to the processing logic of enclosed inside to enter Row processing.User is by calling the interface to carry out dynamic generation setting option List View.
Setting option view management interface concrete implementation code is as follows:
404:Monitoring sets the change of entry value, if user have modified the value of setting option, the setting option row encapsulated in advance The value of the amended setting option of table view management interface captures user.
The control for being supplied to user to use is realized in the step, user can enter Mobile state tune to the value of setting option It is whole, into setting option List View after user the value of some setting options can be changed, when user will set entry value change When, the setting option List View management interface provided by the processing logic encapsulated adjusts back the interface, setting after change The value for putting item returns to and calls the program of the setting entry value to know, so call the program of the setting entry value can be according to modification after The value of setting option continue follow-up call.
Specifically, the setting option that monitoring sets the change of entry value to be used for monitoring setting option value changes by one monitors interface reality Existing, for example, work as user is changed to "Off" by the value of " start self-starting " this setting option by "ON", setting option monitoring interface monitor is arrived The value of setting option changes on setting option List View, and the setting option List View management that the processing logic encapsulated is provided connects Mouthful monitor interface the value of setting option is informed that needs are called for the information of "Off" by adjusting back setting option and set entry value to call journey Sequence;In follow-up invoked procedure according to the value of setting option " start self-starting " be "Off", close start self-starting function.
Setting option monitoring interface concrete implementation code is as follows:
Referring to Fig. 5, generation setting option List View cloth station interface 501 and setting option in the present embodiment monitor interface 504 Realized by user, wherein, generation setting option List View cloth station interface 501 includes InitialSettingViewL () function With RestoreToDefaultValue () function, InitialSettingViewL () function is used to generate Initialize installation List View is laid out, and RestoreToDefaultValue () function is used to recover default value;Setting option monitoring interface 504 includes SettingValueChanged () function, the change of entry value is set for monitoring;Setting option list management interface 503 and setting Item style interface 502 has pre-defined by user to call, and is provided with a list management interface 503 by packaged The processing logic switched into setting option List View and setting option and setting option List View is obtained, including AddSettingsListViewL () function, for increasing a setting option List View, including the increase name of view and right The ID values answered, ActiveSettingsViewL () function, for switching setting option List View, shows that what is switched into sets Put the ID of a List View, AddSettingsViewSupport () function, for adjusting back generation setting option List View layout Interface 501 is configured a List View initialization or recovers default value, Add...SettingL () function, for increasing One setting option;Setting option style interface 502 is the data structure prestored, and the data structure includes the type of setting option With the value of setting option, the interface includes GetSettingL () function, the type for setting setting option, WriteSettingL () function, the value for setting setting option.
Selection is realized generation setting option List View and realized and sets in the user interface library that the present embodiment is provided from system The processing logic of item List View switching is packaged, and the system in the present embodiment refers to S60 systems.
User in the present embodiment refers to program developer.
The processing of encapsulation generation setting option List View and setting option and the switching of setting option List View is patrolled in the present embodiment Volume, including:Setting option List View content is defined by resource file, it is necessary to realize CAknView and CAknSettingItemList subclasses, define new view and quote resource file, the management of setting option List View and switching etc. Manage logic.Often adding a new setting option List View according to processing logic needs to newly increase the code of more than 5 in engineering File, each class can have the code of repetition, in order to avoid repeating the processing logic of complexity, and generation setting option list is regarded Processing logic between the class of figure is packaged, and is hidden the attribute of class and is realized details, the processing logic after encapsulation is used as inside Program, only externally provides setting option List View management interface, is realized for user and internal processes are called.
The present embodiment is by encapsulating the processing that generation setting option List View and setting option and setting option List View switch Logic obtains setting option List View management interface, during generation setting option List View, it is only necessary to generate setting option row Table view layout interface generation setting option List View layout, by calling setting option style interface to obtain setting option type and setting The value of item is put, and calls setting option List View management interface to generate setting option List View, it is not necessary to resource file is defined, no Need to consider the complex process logic between the class of generation setting option List View, simplify the behaviour of generation setting option List View Make, generate multiple views equally simple to operate, it is not necessary to redefine resource file;Interface is monitored by setting option, can be with The value of the setting option of modification is monitored, notifies to call the caller for setting entry value, dynamic adjustment setting option is realized, is also not required to Consider the processing logic of complexity, simplify the process of dynamic adjustment setting option.
Embodiment 3
Referring to Fig. 6, a kind of device of dynamic addition setting option List View is present embodiments provided, the device includes:
View layout module 601 is generated, the setting option List View management interface generation encapsulated in advance for calling is set Item List View layout, addition view name and setting option title in setting option List View layout;
Acquisition module 602, type and the value of setting option for obtaining setting option in setting option List View layout;
Views module 603 is generated, for the class according to the view name and setting option title, and the setting option of acquisition The value of type and setting option calls the setting option List View management interface encapsulated in advance to generate setting option List View.
Referring to Fig. 7, said apparatus also includes:Enclosed inside module 604, for encapsulating generation setting option List View and setting The processing logic for putting item and the switching of setting option List View obtains the setting option List View management interface.
Wherein, generation view layout module 601, is additionally operable to call the setting option List View management interface encapsulated in advance to give birth to Into setting option List View layout;
Correspondingly, the setting option List View management interface, for for each setting option List View layout distribution with The corresponding ID values of view name, are that each setting option in setting option List View layout distributes set corresponding with setting option title Put an ID value.
View layout module 601 is generated, is additionally operable to, when user selects to recover the default value of the setting option, will be set Setting option in item List View reverts to default value.
Acquisition module 602, specifically for depositing the type of setting option and the value of setting option in data structure in advance;From The type of setting option and the value of setting option are obtained in the data structure.
Further, referring to Fig. 8, said apparatus also includes monitoring modular 605, and the change of entry value is set for monitoring, if The value of setting option is revised as the second setting entry value by user by the first setting entry value, then the setting option List View pipe encapsulated in advance Manage interface and obtain the second setting entry value, and it is described second to change the value of setting option described in the setting option List View Entry value is set.
The embodiment of the present invention will handle logic by an enclosed inside module and be used as internal processes, conceal the place of complexity Logic realization details is managed, open interface module is only externally provided, internal processes called for realizing;The device is realizing life Into during setting option List View, it is only necessary to generate setting option List View by generating setting option List View cloth station interface Layout, by calling setting option style interface to obtain setting option type and the value of setting option, and calls packaged setting option List View management interface generates setting option List View, it is not necessary to define resource file, it is not necessary to consider generation setting option row Complex process logic between the class of table view, the operation for simplifying generation setting option List View simplifies generation setting option row The process of table view.
It should be noted that:The dynamic generation setting option List View device that above-described embodiment is provided is carrying out generation setting During List View, only with the division progress of above-mentioned each functional module for example, in practical application, can as needed and incite somebody to action Above-mentioned functions distribution is completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, with complete Into all or part of function described above.In addition, the dynamic generation setting option List View device that above-described embodiment is provided Belong to same design with dynamic generation setting option List View embodiment of the method, it implements process and refers to embodiment of the method, Here repeat no more.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (11)

1. a kind of method of dynamic generation setting option List View, it is characterised in that methods described includes:
The setting option List View management interface encapsulated in advance is called to generate setting option List View layout, in setting option row View name and setting option title are added in table view layout;
Obtain the type and the value of the setting option of setting option described in the setting option List View layout;
According to the view name and setting option title, and the acquisition the setting option type and the setting option Value calls the setting option List View management interface generation setting option List View;
It is described to call before the setting option List View management interface that encapsulates in advance generates setting option List View layout, also wrap Include:
Encapsulation generation setting option List View and setting option and the processing logic of setting option List View switching, obtain the setting Item List View management interface.
2. the method as described in claim 1, it is characterised in that described to call the setting option List View encapsulated in advance management to connect Mouth generation setting option List View layout, addition view name and setting option title in setting option List View layout, Including:
The setting option List View management interface encapsulated in advance is called to generate setting option List View layout;
The setting option List View management interface, is that the setting option List View layout distribution is corresponding with the view name View ID values, being that each setting option distribution in setting option List View layout is corresponding with the setting option title sets Put an ID value.
3. the method as described in claim 1, it is characterised in that set described in the acquisition setting option List View layout The type of item and the value of the setting option are put, including:
The type of the setting option and the value of the setting option are obtained from the data structure pre-saved.
4. the method as described in claim 1, it is characterised in that the type of the setting option includes:Uniterming, multi-option, open Guan Xiang, text input, numeral input or slip value.
5. the method as described in claim 1, it is characterised in that described according to the view name and setting option title, and The type of the setting option of the acquisition and the value of the setting option call the setting option List View management interface to generate After setting option List View, in addition to:
Monitoring sets the change of entry value, if the value of setting option is revised as the second setting entry value by user by the first setting entry value, The setting option List View management interface that then encapsulates in advance obtains described second and sets entry value, and changes the setting option list and regard The value of setting option described in figure is the described second setting entry value.
6. the method as described in claim 1, it is characterised in that described to be set according to the view name and the acquisition Put the type of item and the value of the setting option call the setting option List View management interface generation setting option List View it Afterwards, in addition to:
When user selects to recover the default value of the setting option, the setting option in the setting option List View is recovered For default value.
7. a kind of device of dynamic generation setting option List View, it is characterised in that described device includes:
View layout module is generated, the setting option List View management interface generation setting option list encapsulated in advance for calling is regarded Figure layout, addition view name and setting option title in setting option List View layout;
Acquisition module, for obtaining the type of setting option described in setting option List View layout and the setting option Value;
Generate views module, for according to the view name and setting option title, and the acquisition the setting option Type and the value of the setting option call the setting option List View management interface generation setting option List View;
Described device also includes:
Enclosed inside module, the processing for encapsulating generation setting option List View and setting option and the switching of setting option List View Logic obtains the setting option List View management interface.
8. device as claimed in claim 7, it is characterised in that the generation view layout module,
It is additionally operable to call the setting option List View management interface encapsulated in advance to generate setting option List View layout;
The setting option List View management interface, is that the setting option List View layout distribution is corresponding with the view name ID values, be that each setting option in setting option List View layout distributes setting option corresponding with the setting option title ID values.
9. device as claimed in claim 7, it is characterised in that the acquisition module, specifically for:
The type of the setting option and the value of the setting option are obtained from the data structure pre-saved.
10. device as claimed in claim 7, it is characterised in that also including monitoring modular:
Monitoring sets the change of entry value, if the value of setting option is revised as the second setting entry value by user by the first setting entry value, The setting option List View management interface that then encapsulates in advance obtains described second and sets entry value, and changes the setting option list and regard The value of setting option described in figure is the described second setting entry value.
11. device as claimed in claim 7, it is characterised in that the generation view layout module, is additionally operable to:
When user selects to recover the default value of the setting option, the setting option in the setting option List View is recovered For default value.
CN201110340057.2A 2011-11-01 2011-11-01 A kind of method and device of dynamic generation setting option List View Active CN103092583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110340057.2A CN103092583B (en) 2011-11-01 2011-11-01 A kind of method and device of dynamic generation setting option List View

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110340057.2A CN103092583B (en) 2011-11-01 2011-11-01 A kind of method and device of dynamic generation setting option List View

Publications (2)

Publication Number Publication Date
CN103092583A CN103092583A (en) 2013-05-08
CN103092583B true CN103092583B (en) 2017-10-10

Family

ID=48205200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110340057.2A Active CN103092583B (en) 2011-11-01 2011-11-01 A kind of method and device of dynamic generation setting option List View

Country Status (1)

Country Link
CN (1) CN103092583B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216620B (en) * 2013-05-31 2018-03-30 腾讯科技(深圳)有限公司 A kind of method and device for controlling the switching of List View content
CN105373534B (en) * 2014-08-12 2020-07-07 腾讯科技(北京)有限公司 List display method and device and list display terminal
CN105791551A (en) * 2016-02-25 2016-07-20 上海斐讯数据通信技术有限公司 Mobile terminal and setting method for setting item thereof
CN106126743A (en) * 2016-07-06 2016-11-16 上海携程商务有限公司 The generation method and system of the configuration page
CN106528273B (en) * 2016-10-31 2020-12-11 北京小米移动软件有限公司 Application program management method and device
CN108509188B (en) * 2018-03-30 2021-11-09 武汉斗鱼网络科技有限公司 List establishing method and device and electronic equipment
CN110471722A (en) * 2018-05-11 2019-11-19 北京搜狗科技发展有限公司 A kind of interface processing method, device and the device for interface processing
CN108845803B (en) * 2018-05-23 2022-11-08 北京五八信息技术有限公司 Method, device and equipment for updating list view and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0520924A2 (en) * 1991-06-28 1992-12-30 International Business Machines Corporation Container object management system
CN1325056A (en) * 2000-05-19 2001-12-05 英业达股份有限公司 Fast chang-over method between interfaces
US6469714B2 (en) * 1998-01-26 2002-10-22 International Business Machines Corporation Infocenter user interface for applets and components
CN101192149A (en) * 2007-06-08 2008-06-04 腾讯科技(深圳)有限公司 Method and system for creating application program interface
CN102193786A (en) * 2010-03-11 2011-09-21 中国工商银行股份有限公司 Device and method for constructing self-adaptive graphic user interface (GUI)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0520924A2 (en) * 1991-06-28 1992-12-30 International Business Machines Corporation Container object management system
US6469714B2 (en) * 1998-01-26 2002-10-22 International Business Machines Corporation Infocenter user interface for applets and components
CN1325056A (en) * 2000-05-19 2001-12-05 英业达股份有限公司 Fast chang-over method between interfaces
CN101192149A (en) * 2007-06-08 2008-06-04 腾讯科技(深圳)有限公司 Method and system for creating application program interface
CN102193786A (en) * 2010-03-11 2011-09-21 中国工商银行股份有限公司 Device and method for constructing self-adaptive graphic user interface (GUI)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于BUIW平台的通用列表界面设计与实现;方林祥;《中国优秀硕士学位论文全文数据库信息科技辑》;20110715(第07期);第3.1-3.3节,第4.54-4.56节,第4.6-4.7节,图3.3、3.4、3.8、3.11、4.12-4.17 *

Also Published As

Publication number Publication date
CN103092583A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103092583B (en) A kind of method and device of dynamic generation setting option List View
US9454619B2 (en) Layered user interface
CN104902430B (en) The flow control methods and system of intelligent terminal
CN104317648B (en) A kind of method and apparatus of monitoring advertisement
CN102468993B (en) Terminal test equipment and method
US7917915B2 (en) Model driven application framework
CN103914321B (en) A kind of method and mobile terminal of the message handling ability of calling system
CN106469071A (en) Application program subject replacement method and device
CN109857489A (en) Development system, decoupling method and device based on android system
CN108770050A (en) A kind of control method and device of carrier wave polymerizable functional
CN106970739A (en) Method and system for calling application function through global suspension tool
CN114721761A (en) Terminal device, application icon management method and storage medium
CN107396186B (en) Linux equipment WebOS system application management method
CN101339508A (en) Java2 miniature edition application operation method and device
CN102375668A (en) Window management method and device for mobile terminal
CN105744069B (en) A kind of information transferring method, terminal and system
CN104536571B (en) The method of controlling operation thereof and device of earphone
CN108107792B (en) Loading method, terminal and the computer readable storage medium of LUA script
CN109753291A (en) A kind of intelligent terminal, its application management method, device and storage medium
CN103338291B (en) Processing method and processing apparatus for grouping contacts in mobile terminal
CN105490702B (en) A kind of control method and device of carrier aggregation function
CN108616657A (en) The method and device that softphone is dialed is realized in mobile terminal
CN103577941A (en) Configurable medical information management platform and medical information management method
CN103354547B (en) Control the system and method for speech connection
CN113626105B (en) SDK system of mobile terminal mixed mode and mobile device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant