RecyclerView inside NestedScrollView causes RecyclerView to inflate all elements
I'm having an issue with placing a RecyclerView inside a NestedScrollView, which causes ALL elements of the RecyclerView's adapter to be rendered. This is a rather large issue, as the lists that the RecyclerView is showing can contain several hundred elements. This is at the moment causing quite a lot of lag (obviously) as it has to render all views at once, and can't reuse any already inflated views as the RecyclerView normally does. This is my current XML (Removed some bloat to minimize it): <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.NestedScrollView xmlns:android=