Skip to content

Commit

Permalink
crossword adapter pink color issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwiniydv committed Dec 14, 2022
1 parent 467a5ef commit edb2ca1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import com.tvtoday.gamelibrary.R
internal class VargPaheliAdapter(
private val context: Context,
private val numbersList: ArrayList<CorsswordBoradItem>,


) :BaseAdapter() {
var currentCellIndex :Int = 0
var currentAnswerIndexes: ArrayList<Int> = ArrayList()
Expand Down Expand Up @@ -58,7 +56,7 @@ internal class VargPaheliAdapter(
relativeLay?.setBackgroundColor(Color.parseColor("#909090"));
}else if(currentAnswerIndexes.contains(position)){
relativeLay?.setBackgroundColor(Color.parseColor("#60909090"));
}else if(numbersList[position].isWronAnswer == true){
}else if(numbersList[position].isFreezed == false && numbersList[position].isWronAnswer == true){
relativeLay?.setBackgroundColor(Color.parseColor("#40FF2F2F"));
}else{
relativeLay?.setBackgroundColor(Color.parseColor("#FFFFFF"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,6 @@ import android.widget.LinearLayout
import com.tvtoday.gamelibrary.crosswordgamesdk.controller.*
import com.tvtoday.gamelibrary.crosswordgamesdk.controller.*








class VargPaheliGameActivity : VargPaheliBaseActivity(), View.OnClickListener {
private var mRewardedAd: RewardedAd? = null
private var mediaPlayer : MediaPlayer? = null
Expand Down

0 comments on commit edb2ca1

Please sign in to comment.