Skip to content

Commit 4e4834d

Browse files
authored
Merge pull request #34 from PierfrancescoSoffritti/update
Changed setInfoText(String) argument from String to CharSequence
2 parents aaa1566 + 5da6eb3 commit 4e4834d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

materialintro/src/main/java/co/mobiwise/materialintro/view/MaterialIntroView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ private void setColorTextViewInfo(int colorTextViewInfo) {
582582
textViewInfo.setTextColor(this.colorTextViewInfo);
583583
}
584584

585-
private void setTextViewInfo(String textViewInfo) {
585+
private void setTextViewInfo(CharSequence textViewInfo) {
586586
this.textViewInfo.setText(textViewInfo);
587587
}
588588

@@ -694,7 +694,7 @@ public Builder setTextColor(int textColor) {
694694
return this;
695695
}
696696

697-
public Builder setInfoText(String infoText) {
697+
public Builder setInfoText(CharSequence infoText) {
698698
materialIntroView.enableInfoDialog(true);
699699
materialIntroView.setTextViewInfo(infoText);
700700
return this;

0 commit comments

Comments
 (0)