solve string index out of bounds exception#57
solve string index out of bounds exception#57AndroidDeveloperLB merged 1 commit intoAndroidDeveloperLB:masterfrom tea999:fix
Conversation
…because some font setting make text is one line long with some extra space.) text[end] will trigger string index out of bounds exception.
|
Can you please demonstrate the issue, and that it fixes it? |
I must apologies first, I had some misunderstand about the reason why this issue occurred. |
|
How odd. Thank you. |
|
I'm a newbie of github:)Thanks anyway |
When static layout return 2 lines ,but the text is only one line only(because some font setting make text is one line long with some extra space.) text[end] will trigger string index out of bounds exception.