diff --git a/typing-indicator/src/main/java/com/udevel/widgetlab/TypingIndicatorView.java b/typing-indicator/src/main/java/com/udevel/widgetlab/TypingIndicatorView.java index 25839ad..633b984 100644 --- a/typing-indicator/src/main/java/com/udevel/widgetlab/TypingIndicatorView.java +++ b/typing-indicator/src/main/java/com/udevel/widgetlab/TypingIndicatorView.java @@ -292,14 +292,19 @@ public void setAnimationOrder(@Order int animationOrder) { switch (animationOrder) { case Order.CIRCULAR: sequenceGenerator = new CircularSequenceGenerator(); + break; case Order.LAST_FIRST: sequenceGenerator = new ReverseSequenceGenerator(); + break; case Order.RANDOM_NO_REPETITION: sequenceGenerator = new RandomNoRepetitionSequenceGenerator(); + break; case Order.SEQUENCE: sequenceGenerator = new InSequenceGenerator(); + break; case Order.RANDOM: sequenceGenerator = new RandomSequenceGenerator(); + break; } } }