Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text get set to "" if no link is found #4

Open
bastiotutuama opened this issue Oct 10, 2015 · 2 comments
Open

Text get set to "" if no link is found #4

bastiotutuama opened this issue Oct 10, 2015 · 2 comments

Comments

@bastiotutuama
Copy link

I get empty TextViews if no link is found in the textView. I'm working on a fix.
Investigation:
In LinkableTextView the text should only be set if the Spannable is not null

public LinkableTextView build() {
this.mLinkModifier.build();
//Check if spannable is not null
this.setText(this.mLinkModifier.getSpannable());
return this;
}

@samarti
Copy link

samarti commented Jan 14, 2016

+1

1 similar comment
@MallikaKhullar
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants