I've been going over the sample plug in and it's helped me to get familiarized with how things work. I would like to setup my settings page to have the ability to add a group of fields that would correspond to a device. But I haven't been able to find an example. Does anyone know where I could find an example of what I'm looking to accomplish?
The settings would only need to be a name and a key and possibly a delete button. I'm thinking that once the "add" button is clicked it could change a bool from false to true and that onSettingsChange could check the bool and call a method to create the device associated with that name and key. Does this seem like a reasonable way to do this?
Any help would be greatly appreciated!
Loren
The settings would only need to be a name and a key and possibly a delete button. I'm thinking that once the "add" button is clicked it could change a bool from false to true and that onSettingsChange could check the bool and call a method to create the device associated with that name and key. Does this seem like a reasonable way to do this?
Any help would be greatly appreciated!
Loren
Comment