Skip to content

Commit

Permalink
Fix ExpandableTextView incorrectly truncating the last character (L…
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard20181 authored Nov 24, 2022
1 parent 713a667 commit d5c52a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public boolean onPreDraw() {
s = expand;
} else {
nextLines = maxLines;
end = text.length();
end = text.length() + 1;
s = collapse;
}
sb.clearSpans();
Expand Down

0 comments on commit d5c52a5

Please sign in to comment.