Skip to content

1.1.6

Compare
Choose a tag to compare
@youlookwhat youlookwhat released this 29 Oct 03:45
· 33 commits to master since this release

增加可以直接获取ByWebView的方法 get(),避免获取ByWebView一定要loadUrl()的情况

  /**
   * 直接获取ByWebView,避免一定要调用loadUrl()才能获取ByWebView的情况
   */
  public ByWebView get() {
      return new ByWebView(this);
  }

附loadUrl()方法:

  /**
   * loadUrl()并获取ByWebView
   */
  public ByWebView loadUrl(String url) {
      ByWebView byWebView = get();
      byWebView.loadUrl(url);
      return byWebView;
  }