title: scroll event for recyclerview inside scrollview android
body: <p>I have 2 horizontal and 1 vertical (Grid layout) in a single Scrollview.</p>
  
  <pre><code>&lt;ScrollView&gt;
  
  &lt;Horizontal RecyclerView/&gt;
  
  &lt;Horizontal RecyclerView/&gt;
  
  &lt;Vertical RecyclerView/&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>Above is the schematic of my view.</p>
  
  <p>I have to load data on once the vertical recyclerviews last item is visible, but i'm unable to get the scroll event for my vertical view.</p>
  
  <p>Here is my scrollviewlistener.</p>
  
  <pre><code>             recyclerView.setOnScrollListener(new RecyclerView.OnScrollListener() {
                  @Override
                  public void onScrolled(RecyclerView recyclerView, int dx, int dy) {
                      super.onScrolled(recyclerView, dx, dy);
  
                      totalItemCount = gridLayoutManager.getItemCount();
                      lastVisibleItem = gridLayoutManager.findLastVisibleItemPosition();
                      if (!loading &amp;&amp; totalItemCount &lt;= (lastVisibleItem + visibleThreshold)) {
                          // End has been reached
                          // Do something
                          if(onLoadMoreListener!=null) {
                              onLoadMoreListener.onLoadMore(lastVisibleItem);
                          }
                          loading = true;
                      }
                  }
              });
  </code></pre>
  
  <p>but this setonscrollListener is never fired. How do I get scroll event for above case.</p>
  
  <p>Thanks in advance:)</p>