public class TypeWriterView
extends AppCompatTextView
| Constructor and Description |
|---|
TypeWriterView(android.content.Context context) |
TypeWriterView(android.content.Context context,
android.util.AttributeSet attrs) |
| Modifier and Type | Method and Description |
|---|---|
void |
animateText(java.lang.String text)
Call this function to display
|
void |
removeAnimation()
Call this to remove animation at any time
|
void |
setDelay(int delay)
Call this function to set delay in MILLISECOND [20..150]
|
void |
setTypeWriterListener(TypeWriterListener typeWriterListener)
Set listener to receive typing effects
|
void |
setWithMusic(boolean music)
Whether to play music or not while animating
|
public TypeWriterView(android.content.Context context)
public TypeWriterView(android.content.Context context,
android.util.AttributeSet attrs)
public void animateText(java.lang.String text)
text - attributepublic void setDelay(int delay)
delay - public void setWithMusic(boolean music)
music - public void removeAnimation()
public void setTypeWriterListener(TypeWriterListener typeWriterListener)
typeWriterListener -