fabiomsr / MoneyTextView

A simple Android TextView to display amounts of money in different formats.
508 stars 74 forks source link

unable to set text programatically #7

Closed JefferyEmanuel closed 7 years ago

JefferyEmanuel commented 7 years ago

Seems to be no method to change the text in code.

fabiomsr commented 7 years ago

Hi,

You should use the setAmount method.

    moneyTextView.setAmount(100.05f);
abhikommen commented 6 years ago

textView.setAmmmount(150.50); // use this instead of textView.setText(150.50)