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

will not work with text having space,newline or tab #40

Open
chikka opened this issue Oct 2, 2018 · 3 comments
Open

will not work with text having space,newline or tab #40

chikka opened this issue Oct 2, 2018 · 3 comments

Comments

@chikka
Copy link

chikka commented Oct 2, 2018

It is causing crash when tried with text having newline character,tab or space.

@loalexzzzz
Copy link

same issue, any fix for this one?

@chikka
Copy link
Author

chikka commented Dec 12, 2018

@loalex you can use this forked library where I have fixed it. I have already generated PR for that library.

@loalexzzzz
Copy link

@loalex you can use this forked library where I have fixed it. I have already generated PR for that library.

no luck, same error.

2018-12-19 16:46:22.762 24696-24696/com.owoh.dev E/XgStat: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.text.Layout.getLineCount()' on a null object reference
at com.devs.readmoreoption.ReadMoreOption$1.run(ReadMoreOption.java:90)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)

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

2 participants