SearchPreference icon indicating copy to clipboard operation
SearchPreference copied to clipboard

Access and edit a preference entry

Open Arthur-Milchior opened this issue 10 months ago • 2 comments

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.

Arthur-Milchior avatar Mar 16 '25 20:03 Arthur-Milchior