lmw
2023-05-12 3408b10a3466f2db3f81e5c484142e3c180d36ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.fuban.driver.ui.adapter
 
import android.view.View
import com.fuban.driver.R
import com.fuban.driver.base.BaseRvAdapter
import com.fuban.driver.base.BaseViewHolder
 
class StartAdapter(val num:Double): BaseRvAdapter<String>() {
    override fun getLayoutResId(viewType: Int): Int {
        return R.layout.item_start
    }
 
    override fun onBindItem(holder: BaseViewHolder?, view: View?, item: String?) {
    }
 
    override fun getDataItemCount(): Int {
        return num.toInt()
    }
 
}