|
@@ -1,7 +1,6 @@
|
|
|
package com.hongyegroup.cpt_parttime.ui.fragment
|
|
|
|
|
|
import android.os.Bundle
|
|
|
-import android.view.View
|
|
|
import androidx.databinding.DataBindingUtil
|
|
|
import com.guadou.cs_cptservices.base.fragment.YYBaseVDBLoadingFragment
|
|
|
import com.guadou.cs_cptservices.interfaces.IFragmentRefresh
|
|
@@ -10,9 +9,6 @@ import com.guadou.lib_baselib.engine.toast
|
|
|
import com.guadou.lib_baselib.ext.checkEmpty
|
|
|
import com.guadou.lib_baselib.ext.vertical
|
|
|
import com.guadou.lib_baselib.utils.log.YYLogUtils
|
|
|
-import com.guadou.lib_baselib.view.gloading.GLoadingTitleStatus
|
|
|
-import com.guadou.lib_baselib.view.gloading.Gloading
|
|
|
-import com.guadou.lib_baselib.view.gloading.GloadingPlaceHolderlAdapter
|
|
|
import com.hongyegroup.cpt_parttime.BR
|
|
|
import com.hongyegroup.cpt_parttime.R
|
|
|
import com.hongyegroup.cpt_parttime.databinding.FragmentParttimeJobDetailBinding
|
|
@@ -29,11 +25,11 @@ class PartJobDetailFragment : YYBaseVDBLoadingFragment<PartJobDetailChildViewMod
|
|
|
private val mClickProxy by lazy { ClickProxy() }
|
|
|
|
|
|
//重新生成GLoading对象-跳动动画
|
|
|
- override fun generateGLoading(view: View): Gloading.Holder {
|
|
|
- return Gloading.from(GloadingPlaceHolderlAdapter(R.layout.layout_placeholder_part_time_detail_child))
|
|
|
- .wrap(view, GLoadingTitleStatus(false, true, false))
|
|
|
- .withRetry { onGoadingRetry() }
|
|
|
- }
|
|
|
+// override fun generateGLoading(view: View): Gloading.Holder {
|
|
|
+// return Gloading.from(GloadingPlaceHolderlAdapter(R.layout.layout_placeholder_part_time_detail_child))
|
|
|
+// .wrap(view, GLoadingTitleStatus(false, true, false))
|
|
|
+// .withRetry { onGoadingRetry() }
|
|
|
+// }
|
|
|
|
|
|
override fun getDataBindingConfig(): DataBindingConfig {
|
|
|
return DataBindingConfig(R.layout.fragment_parttime_job_detail, BR.viewModel, mViewModel)
|