Synchronize Search Dialog Dialog

Does anyone know how to dynamically set the text of a search dialog? I want to understand that by pressing the search key in the search dialog, certain text can be initialized. Waiting for your suggestions. thanks ~~

+4
source share
1 answer
@Override public boolean onSearchRequested() { startSearch("initial query", true, null, false); return false; } 
+5
source

Source: https://habr.com/ru/post/1343307/


All Articles