sample/src/com/handmark/pulltorefresh/samples/PullToRefreshWebViewActivity.java
@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_ptr_webview);

		mPullRefreshWebView = (PullToRefreshWebView) findViewById(R.id.pull_refresh_webview);
		mWebView = mPullRefreshWebView.getRefreshableView();

		mWebView.getSettings().setJavaScriptEnabled(true);
		mWebView.setWebViewClient(new SampleWebViewClient());
		mWebView.loadUrl("http://www.google.com");

	}
@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_ptr_webview);

		mPullRefreshWebView = (PullToRefreshWebView) findViewById(R.id.pull_refresh_webview);
		mWebView = mPullRefreshWebView.getRefreshableView();

		mWebView.getSettings().setJavaScriptEnabled(true);
		mWebView.setWebViewClient(new SampleWebViewClient());
		mWebView.loadUrl("http://www.google.com");

	}
@ Override public void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( R . layout . activity_ptr_webview ) ; mPullRefreshWebView = ( PullToRefreshWebView ) findViewById ( R . id . pull_refresh_webview ) ; mWebView = mPullRefreshWebView . getRefreshableView ( ) ; mWebView . getSettings ( ) . setJavaScriptEnabled ( true ) ; mWebView . setWebViewClient ( new SampleWebViewClient ( ) ) ; mWebView . loadUrl ( "http://www.google.com" ) ; }
Called when the activity is first created.
Called when the activity is first created .