|
@@ -12,6 +12,7 @@ import com.wdkl.ncs.android.lib.vo.filter
|
|
|
import com.wdkl.ncs.android.middleware.common.Constant
|
|
|
import com.wdkl.ncs.android.middleware.logic.contract.callingbed.CostFragmentContract
|
|
|
import com.wdkl.ncs.android.middleware.logic.presenter.callingbed.CostFragmentPresenter
|
|
|
+import com.wdkl.ncs.android.middleware.model.vo.CustomerFeeConfig
|
|
|
import com.wdkl.ncs.android.middleware.model.vo.CustomerFeeConfigByGroupNameVO
|
|
|
import com.wdkl.ncs.android.middleware.model.vo.CustomerFeeConfigVO
|
|
|
import kotlinx.android.synthetic.main.cost_view_lay.*
|
|
@@ -70,14 +71,14 @@ class CostFragment2 : BaseFragment<CostFragmentPresenter, CostViewLayBinding>(),
|
|
|
//
|
|
|
}
|
|
|
|
|
|
- override fun showCustomCost2(customFees: ArrayList<CustomerFeeConfigVO>) {
|
|
|
+ override fun showCustomCost2(customFees: CustomerFeeConfig) {
|
|
|
cost_refresh.finishRefresh()
|
|
|
cost_refresh.finishLoadMore()
|
|
|
|
|
|
if (pageNo == 1) {
|
|
|
- adapter.updateCostData(customFees, true)
|
|
|
+ adapter.updateCostData(customFees.data, true)
|
|
|
} else {
|
|
|
- adapter.updateCostData(customFees, false)
|
|
|
+ adapter.updateCostData(customFees.data, false)
|
|
|
}
|
|
|
}
|
|
|
|