android - Nested RecyclerView issue with AppBarLayout -


my activity contains appbarlayout provided design library 23.0.1, hides when scroll up. have recyclerview each child item containing recyclerview too, nested recyclerview going on.

my issue when touch on of inner recyclerview's child , scroll up, appbar not hide. however, if place finger somewhere else (not on inner recyclerview) , scroll, app bar scrolls fine. why happening? tried adding appbar behavior inner recycler view, yet app bar scroll when touch somewhere else , scroll.

note: inner recyclerview has fixed set of items visible @ times, basically, there no scrolling within recyclerview.

there similar question , provided solution intercept touch of inner recyclerview , pass parent recycler view. disables click events of children in inner recycler view, not want that.

you need set nested scrolling flag false inner recycler views.

msomeinnerrecyclerview.setnestedscrollingenabled(false);


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -