|
|
|
@ -5,6 +5,7 @@ import android.app.Activity |
|
|
|
import android.app.AlertDialog |
|
|
|
import android.app.AlertDialog |
|
|
|
import android.content.Intent |
|
|
|
import android.content.Intent |
|
|
|
import android.os.Bundle |
|
|
|
import android.os.Bundle |
|
|
|
|
|
|
|
import android.os.Handler |
|
|
|
import android.view.* |
|
|
|
import android.view.* |
|
|
|
import android.view.animation.AccelerateDecelerateInterpolator |
|
|
|
import android.view.animation.AccelerateDecelerateInterpolator |
|
|
|
import androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
import androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
@ -373,7 +374,9 @@ class HandHistoryFragment : RealmFragment(), RowRepresentableDelegate, KeyboardL |
|
|
|
} |
|
|
|
} |
|
|
|
HandRowType.BIG_BLIND_ANTE -> { |
|
|
|
HandRowType.BIG_BLIND_ANTE -> { |
|
|
|
this.model.setBigBlindAnte(value as Boolean) |
|
|
|
this.model.setBigBlindAnte(value as Boolean) |
|
|
|
this.handHistoryAdapter.notifyDataSetChanged() |
|
|
|
// val f = { this.handHistoryAdapter.notifyDataSetChanged() } |
|
|
|
|
|
|
|
Handler().postDelayed({ this.handHistoryAdapter.notifyDataSetChanged() }, 250L) |
|
|
|
|
|
|
|
// this.handHistoryAdapter.notifyDataSetChanged() |
|
|
|
} |
|
|
|
} |
|
|
|
HandRowType.HERO_POSITION -> { |
|
|
|
HandRowType.HERO_POSITION -> { |
|
|
|
this.model.setHeroPosition(value as Position) |
|
|
|
this.model.setHeroPosition(value as Position) |
|
|
|
|