rides-android/src/main/java/com/uber/sdk/android/rides/RideRequestView.java
public void load() {
        final SessionConfiguration config;
        final AccessTokenStorage storage;

        if (accessTokenSession == null && UberSdk.isInitialized()) {
            config = UberSdk.getDefaultSessionConfiguration();
            storage = new AccessTokenManager(getContext());
            accessTokenSession = new AccessTokenSession(config, storage);

        } else if (accessTokenSession != null) {
            config = accessTokenSession.getAuthenticator().getSessionConfiguration();
            storage = accessTokenSession.getAuthenticator().getTokenStorage();
        } else {
            config = null;
            storage = null;
        }

        if (config == null || storage == null || storage.getAccessToken() == null) {
            if (rideRequestViewCallback != null) {
                rideRequestViewCallback.onErrorReceived(RideRequestViewError.NO_ACCESS_TOKEN);
            }
            return;
        }

        webView.loadUrl(buildUrlFromRideParameters(getContext(), rideParameters,
                        config),
                        RideRequestView.getHeaders(storage.getAccessToken()));
    }
public void load() {
        final SessionConfiguration config;
        final AccessTokenStorage storage;

        if (accessTokenSession == null && UberSdk.isInitialized()) {
            config = UberSdk.getDefaultSessionConfiguration();
            storage = new AccessTokenManager(getContext());
            accessTokenSession = new AccessTokenSession(config, storage);

        } else if (accessTokenSession != null) {
            config = accessTokenSession.getAuthenticator().getSessionConfiguration();
            storage = accessTokenSession.getAuthenticator().getTokenStorage();
        } else {
            config = null;
            storage = null;
        }

        if (config == null || storage == null || storage.getAccessToken() == null) {
            if (rideRequestViewCallback != null) {
                rideRequestViewCallback.onErrorReceived(RideRequestViewError.NO_ACCESS_TOKEN);
            }
            return;
        }

        webView.loadUrl(buildUrlFromRideParameters(getContext(), rideParameters,
                        config),
                        RideRequestView.getHeaders(storage.getAccessToken()));
    }
Loads the ride widget.
Requires that the {@link AccessToken} has been retrieved.