I am getting an error when I press on a letter on the right to scroll to it:
scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures.

I am getting an error when I press on a letter on the right to scroll to it: