光环助手V3.6.4 DEV(20190517-1020)测试问题汇总(游戏评分)(补充)
This commit is contained in:
@ -558,7 +558,7 @@ public class GameDetailFragment extends NormalFragment {
|
||||
ratingScoreAverage.setText(star.getAverage() == 10.0 ? "10" : String.valueOf(star.getAverage()));
|
||||
ratingScoreAverage.setTextSize(18F);
|
||||
} else {
|
||||
ratingScoreAverage.setText("评论过少");
|
||||
ratingScoreAverage.setText("评分过少");
|
||||
ratingScoreAverage.setTextSize(10F);
|
||||
}
|
||||
|
||||
|
||||
@ -13,6 +13,7 @@ import com.gh.common.constant.Constants
|
||||
import com.gh.common.constant.ItemViewType
|
||||
import com.gh.common.util.*
|
||||
import com.gh.download.DownloadManager
|
||||
import com.gh.gamecenter.GameDetailActivity
|
||||
import com.gh.gamecenter.PersonalHomeActivity
|
||||
import com.gh.gamecenter.R
|
||||
import com.gh.gamecenter.adapter.viewholder.FooterViewHolder
|
||||
@ -116,6 +117,9 @@ class RatingReplyAdapter(context: Context,
|
||||
is RatingReplyHeadItemViewHolder -> {
|
||||
val game = mEntityList[position].game!!
|
||||
holder.binding.game = game
|
||||
holder.itemView.setOnClickListener {
|
||||
GameDetailActivity.startGameDetailActivity(mContext, game, BaseActivity.mergeEntranceAndPath(entrance, path))
|
||||
}
|
||||
holder.binding.gameDownload.run {
|
||||
DownloadItemUtils.setOnClickListener(mContext, this,
|
||||
game, 0, this@RatingReplyAdapter,
|
||||
|
||||
@ -61,7 +61,7 @@ class RatingEditActivity : BaseActivity() {
|
||||
toast("请先给游戏打分")
|
||||
return
|
||||
}
|
||||
val content = mBinding?.content?.text.toString()
|
||||
val content = mBinding?.content?.text.toString().trim()
|
||||
if (TextUtils.isEmpty(content)) {
|
||||
toast("请填写评论内容")
|
||||
return
|
||||
|
||||
@ -595,5 +595,5 @@
|
||||
|
||||
<string name = "game_comment_reply_name" >%1$s<Data ><![CDATA[<font color="#9a9a9a"> 回复 </font>]]></Data >%2$s</string >
|
||||
|
||||
<string name = "game_comment_reply_content" ><Data ><![CDATA[<font color="#3a3a3a">%1$s:</font>]]></Data >%2$s</string >
|
||||
<string name = "game_comment_reply_content" ><Data ><![CDATA[<font color="#3a3a3a">%1$s: </font>]]></Data >%2$s</string >
|
||||
</resources >
|
||||
|
||||
Reference in New Issue
Block a user