robinhood / ticker

An Android text view with scrolling text change animation
https://medium.com/robinhood-engineering/hello-ticker-20eaf6e51689
Apache License 2.0
4.38k stars 462 forks source link

Add a getText() method plz. #48

Closed ghost closed 7 years ago

ghost commented 7 years ago

There is a setText() method, but the getText() is missing.

jinatonic commented 7 years ago

The reason why I didn't do this for the library is because I wasn't sure what that method should return when the view is in the middle of an animation. Would you want it to return the text it's animating to before the animation is complete? How are you planning to use this method?