Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,27 @@

/**
* Created by Kofi Gyan on 4/19/2016.
* Edited by HSS on 03/09/2019.
*/

public class StateProgressBar extends View {


public enum StateNumber {
ONE(1), TWO(2), THREE(3), FOUR(4), FIVE(5);
private int value;
public enum StateNumber {
ONE(1), TWO(2), THREE(3), FOUR(4), FIVE(5), SIX(6), SEVEN(7), EIGHT(8);
private int value;

StateNumber(int value) {
this.value = value;
}
StateNumber(int value) {
this.value = value;
}

public int getValue() {
return value;
}
public int getValue() {
return value;
}
}

private static final int MIN_STATE_NUMBER = 1;
private static final int MAX_STATE_NUMBER = 5;
private static final int MAX_STATE_NUMBER = 8;

private static final String STATE_SIZE_KEY = "mStateSize";
private static final String STATE_LINE_THICKNESS_KEY = "mStateLineThickness";
Expand Down