File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
library/src/main/java/io/github/douglasjunior/androidSimpleTooltip Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public class SimpleTooltip implements PopupWindow.OnDismissListener {
8989 private View mContentLayout ;
9090 @ IdRes
9191 private final int mTextViewId ;
92- private final String mText ;
92+ private final CharSequence mText ;
9393 private final View mAnchorView ;
9494 private final boolean mTransparentOverlay ;
9595 private final float mMaxWidth ;
@@ -503,7 +503,7 @@ public static class Builder {
503503 private View contentView ;
504504 @ IdRes
505505 private int textViewId = android .R .id .text1 ;
506- private String text = "" ;
506+ private CharSequence text = "" ;
507507 private View anchorView ;
508508 private int gravity = Gravity .BOTTOM ;
509509 private boolean transparentOverlay = true ;
@@ -691,7 +691,7 @@ public Builder modal(boolean modal) {
691691 * @param text <div class="pt">texto que sera exibido.</div>
692692 * @return this
693693 */
694- public Builder text (String text ) {
694+ public Builder text (CharSequence text ) {
695695 this .text = text ;
696696 return this ;
697697 }
You can’t perform that action at this time.
0 commit comments