equivalent to https://github.com/udacity/Sunshine/tree/4.38-implement-details-cursor-loader