Hello...
I have created a simple Settings screen according to the PreferenceActivity info on this site. The screen has just one category where the user can select a color (Red, Green, Amber) by using the radio buttons in the list. My question is... If I want to do something when a user selects a different color from the list, I need a way to know when that event happens. There is no click event in a Preference screen list.
The reason I need this is to update the list item summary with the current color selection (see line 3755) this works but it is not updated until the program is restarted. So I basically need a way to call CreatePreferencesScreen when the list is changed or closed.
Thanks!
I have created a simple Settings screen according to the PreferenceActivity info on this site. The screen has just one category where the user can select a color (Red, Green, Amber) by using the radio buttons in the list. My question is... If I want to do something when a user selects a different color from the list, I need a way to know when that event happens. There is no click event in a Preference screen list.
The reason I need this is to update the list item summary with the current color selection (see line 3755) this works but it is not updated until the program is restarted. So I basically need a way to call CreatePreferencesScreen when the list is changed or closed.
Thanks!
Attachments
Last edited: