Задержать вызов метода, пока пользователь все еще печатает ⇐ C#
Задержать вызов метода, пока пользователь все еще печатает
I've got a search box in my MAUI XAML page which calls a method in the ViewModel. The amount of data it has to filter from the database is huge and every time the user types a letter it takes a few seconds to respond with results. I want to delay the method call eg. 1s and when the user stops typing (doesn't type more than 1s) then it calls the filtering method.
How can I do this in MAUI?
Источник: https://stackoverflow.com/questions/780 ... ill-typing
I've got a search box in my MAUI XAML page which calls a method in the ViewModel. The amount of data it has to filter from the database is huge and every time the user types a letter it takes a few seconds to respond with results. I want to delay the method call eg. 1s and when the user stops typing (doesn't type more than 1s) then it calls the filtering method.
How can I do this in MAUI?
Источник: https://stackoverflow.com/questions/780 ... ill-typing
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Можно задержать или удерживать состояние «Флажок», когда пользователь нажимает флажок.
Anonymous » » в форуме JAVA - 0 Ответы
- 14 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Можно задержать или удерживать состояние «Флажок», когда пользователь нажимает флажок.
Anonymous » » в форуме Android - 0 Ответы
- 19 Просмотры
-
Последнее сообщение Anonymous
-
-
-
Можно задержать или удерживать состояние «Флажок», когда пользователь нажимает флажок.
Anonymous » » в форуме JAVA - 0 Ответы
- 15 Просмотры
-
Последнее сообщение Anonymous
-