Skip to content

Commit

Permalink
日常提交:2022-11-09.
Browse files Browse the repository at this point in the history
Signed-off-by: 王朋飞 <walgr1010>
  • Loading branch information
王朋飞 committed Nov 9, 2022
1 parent 96fa878 commit 26a26c6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class RefreshListTestActivity : QuickActivity(R.layout.activity_refresh_list, ti
}
}


override fun initView() {
mSmartRefreshLayout?.setOnRefreshListener { mRecyclerView?.onRefresh() }
mSmartRefreshLayout?.setOnLoadMoreListener { mRecyclerView?.onLoadMore() }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 26a26c6

Please sign in to comment.