Android : Call TextSwitcher's SetText without using the fade animation

on Friday, July 4, 2014


Hawdy


I'm trying to implement a TextSwitcher in my calculator app it works and animates fine . But under some circumstances I want it NOT to animate the Text Changing process (change text like a simple textView)


Example :

Button A clicked --> Change the Value with a nice fade animation

Button B clicked --> Change The Value without any particular animation


what should I do ? is there another method available for setting text without the animation?


0 comments:

Post a Comment