@Override
        public void onConnectivityChanged(boolean isConnected) {
            if (isConnected) {
                requestTracker.restartRequests();
            }
        }
Sets the resource class that will be loaded.

@param resourceClass The class of the resource that will be loaded.
@param <Z> The type of the resource that will be loaded.
@return This request builder.
core/src/main/java/com/bumptech/glide/RequestManager.java