ReadMoreTextView icon indicating copy to clipboard operation
ReadMoreTextView copied to clipboard

will not work with text having space,newline or tab

Open chikka opened this issue 6 years ago • 3 comments

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

chikka avatar Oct 02 '18 16:10 chikka

same issue, any fix for this one?

loalexzzzz avatar Dec 12 '18 09:12 loalexzzzz

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

chikka avatar Dec 12 '18 09:12 chikka

@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)

loalexzzzz avatar Dec 19 '18 08:12 loalexzzzz