File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Add it in your root build.gradle at the end of repositories:
14
14
Step 2. Add the dependency
15
15
16
16
dependencies {
17
- compile 'com.github.348476129:WebViewList:1.0 .0'
17
+ compile 'com.github.348476129:WebViewList:1.1 .0'
18
18
}
19
19
20
20
@@ -35,7 +35,9 @@ Step 2. Add the dependency
35
35
webScrollLayout = (WebScrollLayout)findViewById(R.id.my_layout);
36
36
recyclerView = (RecyclerView)findViewById(R.id.recycler);
37
37
recyclerView.setLayoutManager(new LinearLayoutManager(this));
38
- WebViewAdapter webViewAdapter = new WebViewAdapter(new MyAdapter(),"http://wap.4c.cn");
38
+ ScrollWebView scrollWebView = new ScrollWebView(this);
39
+ scrollWebView.loadUrl(url);
40
+ WebViewAdapter webViewAdapter = new WebViewAdapter(new MyAdapter(),scrollWebView);
39
41
webScrollLayout.setRecyclerviewScrollBottomListener(new WebScrollLayout.RecyclerviewScrollBottom() {
40
42
@Override
41
43
public void onScrollBottom() {
You can’t perform that action at this time.
0 commit comments