BlacKCaT27 / CurrencyEditText

A module designed to encapsulate the use of an Android EditText field for gathering currency information from a user. Supports all ISO-3166 compliant locales/currencies.
Apache License 2.0
339 stars 79 forks source link

This library not work for me, it not give facility to enter number in edittext #7

Closed Harin-Kaklotar closed 8 years ago

BlacKCaT27 commented 8 years ago

Sorry it took so long to reply...

Could you clarify what you mean? What are you trying to do?

BlacKCaT27 commented 8 years ago

Based solely on the title, it sounds like you're saying you want to set the number for the edittext field programmatically.

To do this, you can take your raw value and use the formatCurrency method to get the formatted string, then set the CurrencyEditTexts text field directly with setText using the formatted string.

I realize this isn't super straightforward; I'll look into adding a way to pass in a raw value when I have time.

Harin-Kaklotar commented 8 years ago

Ok thanks :)