Back to project page TextCounter.
The source code is released under:
MIT License
If you think the Android project TextCounter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.premnirmal.textcounter; //from ww w .j a v a 2 s. c om /** * Created by prem on 10/28/14. * * Used to format the float value of the text to be set. */ public interface Formatter { /** * Format the value in anyway you want * Remember to prepend the prefix and append the suffix * * @param prefix prefix set in {@link com.github.premnirmal.textcounter.CounterView} * @param suffix suffix set in {@link com.github.premnirmal.textcounter.CounterView} * @param value the number value at the current time interval * @return formatted String */ String format(String prefix, String suffix, float value); }