package com.rv.home.rv.module.ui.main.home.adapter;

import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.ruiwenliu.wrapper.util.BaseGlideHolder;
import com.rv.home.R;
import com.rv.home.rv.module.ui.main.home.bean.HomePopularBrigade;

/**
 * 房车游榜单
 */
public class RVTourListAdapter extends BaseQuickAdapter<HomePopularBrigade.DataBean, BaseGlideHolder> {

    public RVTourListAdapter() {
        super(R.layout.rv_item_rv_tourlist);
    }

    @Override
    protected void convert(BaseGlideHolder helper, HomePopularBrigade.DataBean bean) {
        helper.loadRoundImage(mContext,bean.getImg(), (ImageView) helper.getView(R.id.iv_rv_tour),20);
//        GlideManager.getInstance(mContext).loadImage(bean.getImg(),  (ImageView)helper.getView(R.id.iv_rv_tour));
    }
}
