package Ġcom . ch in azy jr . github application . ad ap ater Ċ Ċ import Ġcom . ch ad . library . adapter . base . Base Quick Adapter Ċ import Ġcom . ch ad . library . adapter . base . Base ViewHolder Ċ import Ġcom . ch in azy jr . github application . R Ċ import Ġcom . ch in azy jr . github application . custom . Custom ized ProgressBar Ċ import Ġcom . ch in azy jr . github application . entity . product . Borrow Plan List Bean Ċ import Ġcom . ch in azy jr . github application . entity . product . Home List Bean Ċ Ċ class ĠSan ListAdapter ( var Ġlist : ĠList < Borrow Plan List Bean . Model . X >) Ġ: ĠBase Quick Adapter < Borrow Plan List Bean . Model . X , ĠBase ViewHolder >( R . layout . item _ product _ list , Ġlist ) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġconvert ( helper : ĠBase ViewHolder ?, Ġitem : ĠB orrow Plan List Bean . Model . X ) Ġ{ ĊĠĠĠĠĠĠĠ Ġif ( helper ?. layout Position == 0 ){ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhelper ?. setVisible ( R . id . ll _ title , true ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhelper ?. setText ( R . id . tv _ group ," æķ£ æłĩ ") ĊĠĠĠĠĠĠĠ Ġ} else { ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhelper ?. setVisible ( R . id . ll _ title , false ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġhelper ?. setText ( R . id . tv _ borrow _ name , Ġitem . borrow Name ) ĊĠĠĠĠĠĠĠ Ġval Ġpr = helper ?. getView < Custom ized ProgressBar >( R . id . progress ) Ġas ĠCustom ized ProgressBar ĊĠĠĠĠĠĠĠ Ġpr . max Count = 1 0 0 f ĊĠĠĠĠĠĠĠ Ġpr . current Count = 1 0 0 f ĊĠĠĠ Ġ} Ċ }