Android Open Source - TextCounter Counter Type






From Project

Back to project page TextCounter.

License

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.

Java Source Code

package com.github.premnirmal.textcounter;
/*from www . j  ava2s.c  o  m*/
/**
 * Created by prem on 10/28/14.
 *
 *
 */
public enum CounterType {

    /**
     * Using this CounterType will format the CounterView text as a comma separated integer
     */
    NUMBER,

    /**
     * Using this CounterType will format the CounterView text as a decimal to 2dp
     */
    DECIMAL,

    /**
     * Using this CounterType will format the CounterView text as a comma separated decimal to 2dp
     */
    BOTH

}




Java Source Code List

com.github.premnirmal.textcounter.CounterType.java
com.github.premnirmal.textcounter.CounterView.java
com.github.premnirmal.textcounter.Counter.java
com.github.premnirmal.textcounter.Formatter.java
com.github.premnirmal.textcounter.formatters.CommaSeparatedDecimalFormatter.java
com.github.premnirmal.textcounter.formatters.DecimalFormatter.java
com.github.premnirmal.textcounter.formatters.IntegerFormatter.java
com.github.premnirmal.textcounter.formatters.NoFormatter.java
com.github.premnirmal.textcounterdemo.ParanormalActivity.java