MaskedEditText icon indicating copy to clipboard operation
MaskedEditText copied to clipboard

Two way databinding

Open IntelliJAbhishek opened this issue 3 years ago • 4 comments

How to use this edit text with two way data binding?

IntelliJAbhishek avatar Feb 20 '21 19:02 IntelliJAbhishek

Hi, @IntelliJAbhishek. MskedEditText is just usual custom EditText. Please follow the android developer guidelines. If you have some problems with MaskedEditText, you can create an own realization of it based on the code provided in the library. Thanks.

VicMikhailau avatar Feb 20 '21 22:02 VicMikhailau

Yeah but due to text watcher we can't use data-binding directly

IntelliJAbhishek avatar Mar 29 '21 18:03 IntelliJAbhishek

@IntelliJAbhishek Yes. I see. Unfortunately, I can't provide a particular way for that case. I can only suggest trying to use library classes directly in your project and override the needed behavior.

VicMikhailau avatar Mar 29 '21 18:03 VicMikhailau

@IntelliJAbhishek If you find any solution please post it here and feel to free make any improvements to the library by creating e.g. a pull request. Thanks.

VicMikhailau avatar Mar 29 '21 18:03 VicMikhailau