Android Question (Solved) Strange Issue with Material Design Preferences

Pencil3

Member
Licensed User
Running into something strange. I added a second Edit.InputType, the first being set to INPUT_TYPE_DECIMAL_NUMBERS and the second set to INPUT_TYPE_DECIMAL_Text. The correct keyboard comes up for both. The EditTextPreference set to INPUT_TYPE_DECIMAL_NUMBERS I can see update in the log. The EditTextPreference set to INPUT_TYPE_DECIMAL_Text does not update in the log. Attached an example, issue happens in the Custom Parameters section.
 

Attachments

  • Example.zip
    18.3 KB · Views: 169

corwin42

Expert
Licensed User
Longtime User
The EventName of the second "EditText" preference is "Edit01".

So the correct Event Handlers are "Edit01_EditTextCreated" and "Edit01_PreferenceChanged".
 
Upvote 0
Top