Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: 1.2.1
The method OnBindEditTextListener getOnBindEditTextListener()
is restricted to the package.
There is no reason why this restriction is in place.
This is a request to make it public.
As it is now, this restriction blocks a solution to
The preference API claims that developers can replace/customize the Dialog classes for (in this case) the EditTextPreference.
This is doable without any problem for the ListPreference/MultiSelectListPreference
Doing the same for EditTextPreference is also not really any problem, except that we cannot access/use that listener.
I understand/guess that the preference library is a dead-end for Google, but if the above could be release we (all developers) would at least have a legal way of implementing a fix/workaround for issue #158864710
Granted, reflection works fine here, but should not be needed IMHO when there is a simple solution to the root problem.