diff --git a/QuickBind/src/main/java/com/wpf/app/quickbind/bindview/QuickRequestData.kt b/QuickBind/src/main/java/com/wpf/app/quickbind/bindview/QuickRequestData.kt index 2af9c7c2..7b4cdcf2 100644 --- a/QuickBind/src/main/java/com/wpf/app/quickbind/bindview/QuickRequestData.kt +++ b/QuickBind/src/main/java/com/wpf/app/quickbind/bindview/QuickRequestData.kt @@ -5,10 +5,7 @@ import androidx.annotation.LayoutRes import com.wpf.app.quickbind.QuickBind import com.wpf.app.quickutil.bind.Bind -open class QuickRequestData @JvmOverloads constructor( - @LayoutRes open val layoutId: Int = 0, - @Transient open val layoutView: View? = null -) : Bind { +open class QuickRequestData : Bind { @Transient private var mView: View? = null diff --git a/app/src/main/java/com/wpf/app/quick/demo/RefreshListTestActivity.kt b/app/src/main/java/com/wpf/app/quick/demo/RefreshListTestActivity.kt index 82c0b197..0bed8099 100644 --- a/app/src/main/java/com/wpf/app/quick/demo/RefreshListTestActivity.kt +++ b/app/src/main/java/com/wpf/app/quick/demo/RefreshListTestActivity.kt @@ -38,7 +38,6 @@ class RefreshListTestActivity : QuickActivity(R.layout.activity_refresh_list, ti } } - override fun initView() { mSmartRefreshLayout?.setOnRefreshListener { mRecyclerView?.onRefresh() } mSmartRefreshLayout?.setOnLoadMoreListener { mRecyclerView?.onLoadMore() } diff --git "a/app/src/main/java/com/wpf/app/quick/demo/http/model/\351\246\226\351\241\265\346\226\207\347\253\240.kt" "b/app/src/main/java/com/wpf/app/quick/demo/http/model/\351\246\226\351\241\265\346\226\207\347\253\240.kt" index 10535fa1..6209bcc8 100644 --- "a/app/src/main/java/com/wpf/app/quick/demo/http/model/\351\246\226\351\241\265\346\226\207\347\253\240.kt" +++ "b/app/src/main/java/com/wpf/app/quick/demo/http/model/\351\246\226\351\241\265\346\226\207\347\253\240.kt" @@ -8,9 +8,7 @@ import com.wpf.app.quickbind.helper.binddatahelper.Text2TextView import com.wpf.app.quickbind.interfaces.runOnContextWithSelf import com.wpf.app.quickrecyclerview.data.QuickBindData -class 首页文章 : QuickRequestData( - R.layout.activity_request_test -) { +class 首页文章 : QuickRequestData() { val curPage: Int? = null val datas: List<文章>? = null