CountryCodePickerProject icon indicating copy to clipboard operation
CountryCodePickerProject copied to clipboard

Data Binding

Open ThinClient opened this issue 5 years ago • 5 comments

How do you use this library with data binding. I would like to bind the country code and the associated edit text to a field in my model class and have it change dynamically when the data is changed in the model or the view(two way data binding) and then validate the data when focus to registered edit text is lost.

ThinClient avatar Nov 10 '20 20:11 ThinClient

have you found a solution to this yet? i am trying to achieve the same thing

jonspiro avatar Feb 19 '21 00:02 jonspiro

No I haven't. I use binding on other android widgets but for ccp I populate and get their values programmatically.

ThinClient avatar Feb 21 '21 04:02 ThinClient

I have create binding adapters. If you still need the code comment.

ThinClient avatar Jul 11 '21 11:07 ThinClient

در تاریخ یکشنبه ۲۱ فوریهٔ ۲۰۲۱،‏ ۸:۰۶ ThinClient @.***> نوشت:

No I haven't. I use binding on other android widgets but for ccp I populate and get their values programmatically.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hbb20/CountryCodePickerProject/issues/449#issuecomment-782795744, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIBSDZT6SRML3YXJ5TKSVD3TACEV5ANCNFSM4TRDG46A .

amingoli-com avatar Jul 28 '21 18:07 amingoli-com

@amingoli78 , I do not understand Arabic.

ThinClient avatar Jul 29 '21 06:07 ThinClient