Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
haoxikang committed Aug 29, 2016
2 parents aeae0e7 + b71c4d6 commit a559cd5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add it in your root build.gradle at the end of repositories:
Step 2. Add the dependency

dependencies {
compile 'com.github.348476129:WebViewList:1.0.0'
compile 'com.github.348476129:WebViewList:1.1.0'
}


Expand All @@ -35,7 +35,9 @@ Step 2. Add the dependency
webScrollLayout = (WebScrollLayout)findViewById(R.id.my_layout);
recyclerView = (RecyclerView)findViewById(R.id.recycler);
recyclerView.setLayoutManager(new LinearLayoutManager(this));
WebViewAdapter webViewAdapter = new WebViewAdapter(new MyAdapter(),"http://wap.4c.cn");
ScrollWebView scrollWebView = new ScrollWebView(this);
scrollWebView.loadUrl(url);
WebViewAdapter webViewAdapter = new WebViewAdapter(new MyAdapter(),scrollWebView);
webScrollLayout.setRecyclerviewScrollBottomListener(new WebScrollLayout.RecyclerviewScrollBottom() {
@Override
public void onScrollBottom() {
Expand Down

0 comments on commit a559cd5

Please sign in to comment.