How to implement endless list with RecyclerView?

I like to change from ListView to RecyclerView. I miss the onScroll of the OnScrollListener at RecyclerView to determine that the user scrolled to the end of the list. How do I know that the user scrolls to the end of the list so that I can fetch new data from a Rest Service.