ReadMoreTextView
ReadMoreTextView copied to clipboard
Can't see the readmore option within recyclerview
Hi,
I tried to implement the ReadMoreTextView but i cant see "readmore" option for some items.
And when i clicked on the readmore option of te previous item,i can see it.
Is it an issue or the functionality,Can't figure it out.
hi @ImdStar-Pranesh it is an issue. At this moment, I don't have time to fix it. A Pull Request is welcome ;) When I get time, I'll try to see the problem.
Hi,
Thanks for the update.
Regards,
Pranesh
From: Borja Bravo [mailto:[email protected]] Sent: Friday, April 7, 2017 4:46 PM To: bravoborja/ReadMoreTextView [email protected] Cc: ImdStar-Pranesh [email protected]; Mention [email protected] Subject: Re: [bravoborja/ReadMoreTextView] Can't see the readmore option within recyclerview (#22)
hi @ImdStar-Pranesh https://github.com/ImdStar-Pranesh it is an issue. At this moment, I don't have time to fix it. A Pull Request is welcome ;) When I get time, I'll try to see the problem.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bravoborja/ReadMoreTextView/issues/22#issuecomment-292510877 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYqS_-8-ZNJV07mwIMVqsck2eCO2AqPxks5rthrjgaJpZM4M2wPn .
so,can i use it within recyclerViewew? Does the problem still exist?
Hi, What trim mode are you using? With TRIM_MODE_LINES it is possible that the library not working.
Can you try to use the TRIM_MODE_LENGTH? It's working with this?
Thanks for the feedback
I have same problem. The recyclerview first time set data adapter. Colapse work normally ONLY in first index. When, "read more" clicked readmoretextview in other index colapse normally. And, when the device lock, and open again its work normally in all index automatically. Notes: 1 index have 1 readmoretextview and full screen. So, second index not show in first set data to adapter. Hopefully fix this soon. Thank you
Hey, i have the problem in recyclerview, when text.lenght() is 0 then app get crashed, Here i have mention the logs java.lang.StringIndexOutOfBoundsException: length=0; index=120 at java.lang.String.substring(String.java:2032) at java.lang.String.subSequence(String.java:2079) at com.handlrlib.views.ReadMoreTextView.updateCollapsedText(ReadMoreTextView.java:168) at com.handlrlib.views.ReadMoreTextView.getTrimmedText(ReadMoreTextView.java:149) at com.handlrlib.views.ReadMoreTextView.getDisplayableText(ReadMoreTextView.java:126)
It's working fine with trimModeLength