Procházet zdrojové kódy

1.移动bean类位置

王鹏鹏 před 2 roky
rodič
revize
8531f87da4

+ 1 - 1
workbenches/src/main/java/com/yingyang/workbenches/WorkbenchesActivity.kt

@@ -6,7 +6,7 @@ import com.alibaba.android.arouter.facade.annotation.Route
 import com.bumptech.glide.Glide
 import com.yingyang.workbenches.adapter.GameAdapter
 import com.yingyang.workbenches.databinding.ActivityWorkbenchesBinding
-import com.yingyang.workbenches.net.Record
+import com.yingyang.workbenches.entity.Record
 import com.yingyangfly.baselib.ext.setOnSingleClickListener
 import com.yingyangfly.baselib.ext.toast
 import com.yingyangfly.baselib.mvvm.BaseMVVMActivity

+ 2 - 2
workbenches/src/main/java/com/yingyang/workbenches/WorkbenchesViewModel.kt

@@ -1,9 +1,9 @@
 package com.yingyang.workbenches
 
 import com.yingyang.workbenches.entity.CountTrainBean
+import com.yingyang.workbenches.entity.WorkBenchesBean
+import com.yingyang.workbenches.entity.WorkBenchesRequestBodyBean
 import com.yingyang.workbenches.net.WORKBENCHES_API
-import com.yingyang.workbenches.net.WorkBenchesBean
-import com.yingyang.workbenches.net.WorkBenchesRequestBodyBean
 import com.yingyangfly.baselib.mvvm.BaseViewModel
 import com.yingyangfly.baselib.net.XUtils
 import com.yingyangfly.baselib.utils.GsonUtil

+ 1 - 1
workbenches/src/main/java/com/yingyang/workbenches/adapter/GameAdapter.kt

@@ -4,7 +4,7 @@ import android.content.Context
 import com.bumptech.glide.Glide
 import com.yingyang.workbenches.R
 import com.yingyang.workbenches.databinding.ItemGameListBinding
-import com.yingyang.workbenches.net.Record
+import com.yingyang.workbenches.entity.Record
 import com.yingyangfly.baselib.adapter.BaseDataBindingAdapter
 import com.yingyangfly.baselib.ext.setOnSingleClickListener
 

+ 1 - 1
workbenches/src/main/java/com/yingyang/workbenches/net/WorkBenchesBean.kt → workbenches/src/main/java/com/yingyang/workbenches/entity/WorkBenchesBean.kt

@@ -1,4 +1,4 @@
-package com.yingyang.workbenches.net
+package com.yingyang.workbenches.entity
 
 data class WorkBenchesBean(
     val countId: Any,

+ 1 - 1
workbenches/src/main/java/com/yingyang/workbenches/net/WorkBenchesRequestBodyBean.kt → workbenches/src/main/java/com/yingyang/workbenches/entity/WorkBenchesRequestBodyBean.kt

@@ -1,4 +1,4 @@
-package com.yingyang.workbenches.net
+package com.yingyang.workbenches.entity
 
 /**
  * 首页接口请求参数

+ 1 - 0
workbenches/src/main/java/com/yingyang/workbenches/net/WorkbenchesApiService.kt

@@ -1,6 +1,7 @@
 package com.yingyang.workbenches.net
 
 import com.yingyang.workbenches.entity.CountTrainBean
+import com.yingyang.workbenches.entity.WorkBenchesBean
 import com.yingyangfly.baselib.net.BaseResp
 import okhttp3.RequestBody
 import retrofit2.http.*

+ 1 - 1
workbenches/src/main/res/layout/item_game_list.xml

@@ -8,7 +8,7 @@
 
         <variable
             name="data"
-            type="com.yingyang.workbenches.net.Record" />
+            type="com.yingyang.workbenches.entity.Record" />
     </data>
 
     <androidx.cardview.widget.CardView