Open rsatandroid opened 7 years ago
PS : FixedGridLayoutManager scrollVerticallyBy is not getting called while scrolling vertically.
is it possible that top LinearLayoutManager is consuming the scrollVerticallyBy ?
setNestedScrollingEnabled on parent RecyclerView is also not making any scrolling behaviour change.
Hi All, I was playing around FixedGridLayoutManager and tried to have a RecyclerView with FixedGridLayoutManager as an item of RecyclerView with LinearLayoutManager (Vertical).
The problem is now the RecyclerView with FixedGridLayoutManager does not scroll vertically. ViewHolder for parent RecyclerView with LinearLayoutManager is as follows -
public static class VerticalItemHolder extends RecyclerView.ViewHolder implements View.OnClickListener { private SimpleTVAdapter mAdapter; private RecyclerView recyclerView; private TextView sectionTitle;
Can anyone point me in right direction how to achieve RecyclerView (FixedGrid) as an item inside another RecyclerView (Linear Vertical)?
Thank you.