剔除无用资源

old
zlj 5 years ago
parent f9c396ba0d
commit 97379e1146
  1. 1
      app/src/main/java/com/novel/read/adapter/BookListAdapter.kt
  2. 25
      app/src/main/res/layout/activity_web_read.xml
  3. 2
      net_serivce/build.gradle

@ -18,7 +18,6 @@ import com.novel.read.constants.Constant.COMMENT_SIZE
import com.novel.read.inter.OnLoadMoreListener import com.novel.read.inter.OnLoadMoreListener
import com.novel.read.model.protocol.SearchResp import com.novel.read.model.protocol.SearchResp
import com.novel.read.utlis.GlideImageLoader import com.novel.read.utlis.GlideImageLoader
import io.github.lizhangqu.coreprogress.ProgressHelper
class BookListAdapter(private val mList: List<SearchResp.BookBean>, recyclerView: RecyclerView) : RecyclerView.Adapter<RecyclerView.ViewHolder>() { class BookListAdapter(private val mList: List<SearchResp.BookBean>, recyclerView: RecyclerView) : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
private var mContext: Context? = null private var mContext: Context? = null

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activity.NovelWebReadActivity">
<WebView
android:id="@+id/webview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"/>
<TextView
android:id="@+id/tv_loading"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:background="@color/read_bg_one"
android:text="正在拼命加载中..."/>
</androidx.constraintlayout.ConstraintLayout>

@ -31,8 +31,6 @@ dependencies {
// //
api rootProject.ext.dependencies["okhttp"] api rootProject.ext.dependencies["okhttp"]
// okHttp使用
api 'io.github.lizhangqu:coreprogress:1.0.2'
api rootProject.ext.dependencies["retrofit2"] api rootProject.ext.dependencies["retrofit2"]
api rootProject.ext.dependencies["retrofit2_gson"] api rootProject.ext.dependencies["retrofit2_gson"]

Loading…
Cancel
Save