compile 'com.github.Zachary46:ZWebView:v1.1'
allprojects {
repositories {
jcenter()
maven { url 'https://www.jitpack.io' }
}
}
LinearLayout rootView= (LinearLayout) findViewById(R.id.ll);
ZWeb.with(this)
.addParentView(rootView)
.setBackgroundRes(R.drawable.progress_drawable)
.addTitleListener(new ZWeb.TitleListener() {
@Override
public void getTitle(String title) {
}
})
.addProgressListener(new ZWeb.ProgressListener() {
@Override
public void getProgress(int progress) {
}
})
.setUrl("https://www.github.com/Zachary46")
.go();