The layout consists of a large form and a RecyclerView, which loads elements when scrolling. If I RecyclerView I Paste Inside ScrollView

<ScrollView> <RecyclerView> </RecyclerView> </ScrollView> 

then the RecyclerView scrolls only once and no more data is loaded (only the first 10 ads are visible)

If I clean ScrollView, then the top menu does not scroll at all, and only RecyclerView scrolls with ads loading. Example enter image description here

For users, this option is not at all convenient. The question is how to make the whole page scroll, not just the bottom part (RecyclerView)? PS I tried many options, but no effect.

  • RecyclerView insert a very bad idea into ScrollView, try to implement the movement logic using CoordinatorLayout - ZigZag
  • This is not only a bad idea, but it is also a bad user experience, if you want to have approximately the same structure, you should think about shifting (for example, just animation) the upper part to the button or something similar. Otherwise, you may well run into a lot of angry reviews about the inconvenience of the interface. Regarding the scrolling, determine the location of the click and call its scrolling listener. You most likely have a RecyclerView intercept control. In general, the layout and the place of implementation / use of this screen in the studio would not be bad - Valeriy
  • Thank him: stackoverflow.com/users/14197/lsillarionov . The same problem as with ListView: the item to be copied in the item to be scanned does not work in android. You can try the recently appeared NestedScrollView. Here: Stackoverflow.com/q/445063/238266 - Valeriy

0