package com.seatel.mobilehall.ui.home.adapter

import android.view.LayoutInflater
import android.view.ViewGroup
import com.seatel.mobilehall.R
import com.seatel.mobilehall.ui.base.adapter.BaseRecyclerAdapter
import com.seatel.mobilehall.ui.home.model.SimCardPriceModel
import com.seatel.mobilehall.ui.home.viewholder.BaseViewHolder
import com.seatel.mobilehall.ui.home.viewholder.SimPriceViewHolder

/**
 *
 *
 * @author Noel
 * @version
 * @created on 19-Oct-18
 */
class SimPriceAdapter(mData: List<SimCardPriceModel>) : BaseRecyclerAdapter<SimCardPriceModel>(mData) {
    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): BaseViewHolder<SimCardPriceModel> {
        return SimPriceViewHolder(LayoutInflater.from(parent.context).inflate(R.layout.layout_start_end_price_item, parent, false))
    }
}