diff --git a/app/src/main/java/com/gh/gamecenter/personalhome/home/UserHistoryAdapter.kt b/app/src/main/java/com/gh/gamecenter/personalhome/home/UserHistoryAdapter.kt index 26c6ee2135..69fa5a0bdd 100644 --- a/app/src/main/java/com/gh/gamecenter/personalhome/home/UserHistoryAdapter.kt +++ b/app/src/main/java/com/gh/gamecenter/personalhome/home/UserHistoryAdapter.kt @@ -77,6 +77,7 @@ class UserHistoryAdapter(context: Context, holder.binding.run { entity = historyEntity + userName.visibility = View.GONE endDesc.text = entity?.community?.name executePendingBindings() val command = getUserCommand(historyEntity.type, historyEntity.time) @@ -109,7 +110,7 @@ class UserHistoryAdapter(context: Context, } else { holder.binding.content.setTextWithHighlightedTextWrappedInsideWrapper(text = historyEntity.comment.content, copyClickedText = true) } - holder.binding.content.setExpandCallback{ + holder.binding.content.setExpandCallback { mExpandSparseBooleanArray.put(holder.adapterPosition, true) } diff --git a/app/src/main/java/com/gh/gamecenter/personalhome/home/UserVideoHistoryFragment.kt b/app/src/main/java/com/gh/gamecenter/personalhome/home/UserVideoHistoryFragment.kt index 7c62e1244d..a8e359b10c 100644 --- a/app/src/main/java/com/gh/gamecenter/personalhome/home/UserVideoHistoryFragment.kt +++ b/app/src/main/java/com/gh/gamecenter/personalhome/home/UserVideoHistoryFragment.kt @@ -1,12 +1,10 @@ package com.gh.gamecenter.personalhome.home -import android.graphics.drawable.ColorDrawable import android.os.Bundle import android.view.View import androidx.core.content.ContextCompat import androidx.recyclerview.widget.GridLayoutManager import androidx.recyclerview.widget.RecyclerView -import com.gh.common.util.DisplayUtils import com.gh.common.util.dip2px import com.gh.common.util.viewModelProvider import com.gh.common.view.GridSpacingItemDecoration @@ -49,6 +47,7 @@ class UserVideoHistoryFragment : ListFragment