I have a RecyclerView that needs to recycle many rows (a long list of contacts). However, I'd like to have these rows scroll in step with a "header" of sorts. This header will be composed of two Fragments because these complex views with database and network access need to be reused in two separate places in the application.
How would I go about placing two Fragments as the header of a RecyclerView? Or is there a better way to accomplish a similar scrolling behavior with reusable elements above recycled rows?