5

here is my layout

________________  ___   
|              |   ||
| Linear       |   ||
| Layout       |   ||
|              |   || nested scroll view
|______________|   ||
||            ||   ||
||            ||   ||
||   Child    ||  _||
||Recyclerview||
||____________||
|______________|      -end

how do I make the parent LinearLayout to scroll first and when it's reached the end the child recyclerview should scroll.

By default first the child RecyclerView scrolls to end before the parent starts to scroll.

Let'sRefactor
  • 3,303
  • 4
  • 27
  • 43
noisy ninja
  • 131
  • 1
  • 7
  • why not [click me, see: Flexible space](https://www.google.com/design/spec/patterns/scrolling-techniques.html#scrolling-techniques-scrolling) ... there is a widget for this in [design support library](http://android-developers.blogspot.com/2015/05/android-design-support-library.html) – Selvin Oct 21 '15 at 15:03

1 Answers1

0

Probably you should work with the concept of Header on a RecyclerView. Take a look at this post: Android 5.0 - Add header/footer to a RecyclerView

Community
  • 1
  • 1
Rafa0809
  • 1,733
  • 21
  • 24