dextorer / Sofa

A library for Android TV that extends the Leanback library functionalities
Other
148 stars 34 forks source link

Crash on fast headers scrolling. #14

Open DJOxid opened 8 years ago

DJOxid commented 8 years ago

Hello. Found some strange behaviour with BrowserFragment. Please see description below.

Steps to reproduce on Android TV Emulator:

  1. Add more items in DemoActivity videoList.
  2. Scroll headers fast (just press and hold "DOWN" button on keyboard).
  3. Application crashes with following stacktrace.

Sofa scrolling crash.txt

We assumes that the problem is in BrowseFragment.mRowViewSelectedListener, where we trying to get VerticalGridView from mCurrentFragment, which can be not yet fully initialized (onCreateView hasn't been called yet).

philipgiuliani commented 8 years ago

Related https://github.com/dextorer/Sofa/issues/11