Need to make sure that caret position will have value if click or drag the lyric before.
But should be better to make them as individual behavior.
Means "caret position" and "drag caret position" should not exists at the same time.
Also.
Expose the caret position algorithm for easier to let outside know what is current algorithm is using.
So they can prepare the caret index position or create the drawable caret.
As title.
Need to make sure that caret position will have value if click or drag the lyric before. But should be better to make them as individual behavior.
Means "caret position" and "drag caret position" should not exists at the same time.
Also. Expose the caret position algorithm for easier to let outside know what is current algorithm is using. So they can prepare the caret index position or create the drawable caret.