NestedScrollView is within RecyclerView. When this RecyclerView instantiates an addOnScrollListener, the listener works correctly, but I cannot do pagination, nor can I properly track RecyclerView items on the screen. When RecyclerView is not a NestedScrollView, everything works well
<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="wrap_content">
<ImageView
android:layout_width="match_parent"
android:layout_height="100dp" />
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
</android.support.v4.widget.NestedScrollView>