SearchPreference
SearchPreference copied to clipboard
Access and edit a preference entry
Hi,
Thanks a lot for your library.
Is it possible to have a feature to access a PreferenceItem and access and edit it?
The reason I want it is that I've a preference "one_way_sync_key" where the summary is set in the xml but the title is set in Kotlin as it's not known at compile time.
So I want to access its PreferenceItem, from the unique key "one_way_sync_key", and call setTitle(myTitle) on it. So that users can search it by title and not only by summary.
I can of course create a new item, but then the entry is duplicated in the search result.