Skip to content

Commit 54b824a

Browse files
Update VSpotMessageView2.java
1 parent 812fcf0 commit 54b824a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

library/src/main/java/com/developer/spoti/vspoti/VSpotMessageView2.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ public void run() {
3838
}
3939
};
4040

41+
private final Runnable titleCharacterAdder = new Runnable() {
42+
@Override
43+
public void run() {
44+
if (titleIndex <= fullTitle.length()) {
45+
mTitleTextView.setText(fullTitle.subSequence(0, titleIndex));
46+
titleIndex++;
47+
titleHandler.postDelayed(this, titleDelay);
48+
}
49+
}
50+
};
51+
4152
VSpotMessageView2(Context context) {
4253
super(context);
4354

0 commit comments

Comments
 (0)