Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Usage of Entry via binding: How to get notified if text is finally changed, not on each character.

$
0
0

I have an Entry control whose Text property is bound to my ViewModel. But the setter of the property in the ViewModel is called on each character change (equivalent to UpdateSourceTrigger = "PropertyChanged" in WPF) but I want to get the complete text when the input is finished (virtual keyboard closed or another element is tapped).

The reason why I want this is because I have to send the text of the Entry via an open WebSocket connection and I don't want to send each change, only when the input is done.

How can I achieve that?

Regards,
Christian


Viewing all articles
Browse latest Browse all 75885

Trending Articles