will not work with text having space,newline or tab
It is causing crash when tried with text having newline character,tab or space.
same issue, any fix for this one?
@LoAlex you can use this forked library where I have fixed it. I have already generated PR for that library.
@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)