As described in below image. I have one layout above the recycler view and one below. both tags are the linear layout. I face two problems.
because the recycler view has inner scroll therefore if items in recycler view increase, the first linear layout stays at the same place but I am expecting it to scroll up while scrolling items.
When items increase in recycler view the second layout get disappear. how to make the layout scroll when recycler view reaches its last item.
Tried android:nestedScrollingEnabled="false" it disables the scroll effect but shows only a few items in the recycler view.
Require solutions: if somehow I can make the recycler views items static and display all the available contents. so the parent layout decides whether scroll or not. if size increase it will scroll otherwise not.