Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indian Rupee currency symbol passed-in to onSelectCurrency() listener is wrong. #21

Open
wabbas55 opened this issue Apr 21, 2021 · 2 comments

Comments

@wabbas55
Copy link

wabbas55 commented Apr 21, 2021

When I select "India Rupee" from currency dropdown, the symbol passed in to onSelectCurrency() is "0" instead of "₹". I have gone through ExtendedCurrency class and its array in this repo on github and it shows the correct symbol defined there i.e. "₹" but the symbol passed-in to onSelectCurrency() is "0".

@heihitesh
Copy link

I agree, please fix this bug ASAP

@PuruPanda1
Copy link

hey if you haven't got a fix or workaround yet, I would say try using Android's Currency Class, get the currency code and then pass it to the currency class.
Example Code:
val sumbol = Currency.getInstance(codeYouGotFromSelector).symbol - for symbol
val name = Currency.getInstance(codeYouGotFromSelector).displayName - for name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants