public void setResource(String resource, RequestParams params) {
        if (null == resource) {
            WonderPush.logError("null resource provided to WonderPushView");
            return;
        }
        mInitialResource = resource;
        mInitialRequestParams = params;
        mIsPreloading = false;
        if (null == params)
            params = new RequestParams();

        WonderPushRequestParamsDecorator.decorate(resource, params);

        String url = String.format(Locale.getDefault(), "%s?%s",
                WonderPushUriHelper.getNonSecureAbsoluteUrl(resource),
                params.getURLEncodedString());
        mWebView.loadUrl(url);
    }
public void setResource ( String resource , RequestParams params ) { if ( null == resource ) { WonderPush . logError ( "null resource provided to WonderPushView" ) ; return ; } mInitialResource = resource ; mInitialRequestParams = params ; mIsPreloading = false ; if ( null == params ) params = new RequestParams ( ) ; WonderPushRequestParamsDecorator . decorate ( resource , params ) ; String url = String . format ( Locale . getDefault ( ) , "%s?%s" , WonderPushUriHelper . getNonSecureAbsoluteUrl ( resource ) , params . getURLEncodedString ( ) ) ; mWebView . loadUrl ( url ) ; }
Sets the resource for the web content displayed in this WonderPushView's WebView.