getSelectedView checks the mCurrentAdapterIndex against the length of mLoadedViews. This will be false for positions greater than the loaded views, so it will return null.
I'm pretty sure that it should be checking mCurrentBufferIndex instead, so getSelectedView should be:
getSelectedView checks the mCurrentAdapterIndex against the length of mLoadedViews. This will be false for positions greater than the loaded views, so it will return null.
I'm pretty sure that it should be checking mCurrentBufferIndex instead, so getSelectedView should be:
Sorry, I'm just getting used to github, so haven't properly contributed this.