统一修改光能模块命名

This commit is contained in:
lyr
2020-12-23 18:03:51 +08:00
parent f22afbd819
commit 324aaa5056
63 changed files with 143 additions and 144 deletions

View File

@ -1,7 +1,6 @@
package com.gh.common.util
import android.annotation.SuppressLint
import android.content.Context
import android.view.Gravity
import android.view.View
import android.widget.LinearLayout
@ -10,7 +9,7 @@ import android.widget.TextView
import com.facebook.drawee.view.SimpleDraweeView
import com.gh.gamecenter.R
import com.gh.gamecenter.entity.EnergyTaskCompleteEntity
import com.gh.gamecenter.guangneng.GuangnengCenterActivity
import com.gh.gamecenter.energy.EnergyCenterActivity
import com.gh.gamecenter.manager.UserManager
import com.gh.gamecenter.retrofit.BiResponse
import com.gh.gamecenter.retrofit.RetrofitManager
@ -44,7 +43,7 @@ object EnergyTaskHelper {
}
@JvmStatic
fun postGnTaskForWeb(action: String, url: String) {
fun postEnergyTaskForWeb(action: String, url: String) {
postEnergyTask(action, null, null, url)
}
@ -68,7 +67,7 @@ object EnergyTaskHelper {
actionParam.put("url", url)
}
debugOnly { Utils.log("GnTaskHelper -> $jsonObject") }
debugOnly { Utils.log("EnergyTaskHelper -> $jsonObject") }
val body = RequestBody.create(MediaType.parse("application/json"), jsonObject.toString())
RetrofitManager.getInstance(HaloApp.getInstance().application)
@ -96,7 +95,7 @@ object EnergyTaskHelper {
isFocusable = true
isFocusableInTouchMode = true
setOnClickListener {
currentActivity.startActivity(GuangnengCenterActivity.getIntent(currentActivity))
currentActivity.startActivity(EnergyCenterActivity.getIntent(currentActivity))
}
}
val popWindow = PopupWindow(contentView, LinearLayout.LayoutParams.MATCH_PARENT,