feat:恢复游戏dialog禁止空白取消
This commit is contained in:
@@ -293,7 +293,7 @@ public class MainActivity extends BaseMvpActivity<IMainView, MainPresenter>
|
||||
if (resumeGameDialogManager == null) {
|
||||
resumeGameDialogManager = new DialogManager(this);
|
||||
}
|
||||
resumeGameDialogManager.showOkCancelDialog(getString(R.string.resume_game_tips), getString(R.string.join_organization_ok), getString(R.string.join_organization_no), new DialogManager.OkCancelDialogListener() {
|
||||
resumeGameDialogManager.showOkCancelDialog(getString(R.string.resume_game_tips), getString(R.string.join_organization_ok), getString(R.string.join_organization_no), false, new DialogManager.OkCancelDialogListener() {
|
||||
@Override
|
||||
public void onOk() {
|
||||
long gameId = JavaUtil.str2long(gameRoomInfo.getData().getMgId());
|
||||
|
@@ -1,13 +1,10 @@
|
||||
package com.chwl.app.game.ui.game
|
||||
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
import com.chwl.app.R
|
||||
import com.chwl.app.base.BaseViewModel
|
||||
import com.chwl.app.game.core.GameContext
|
||||
import com.chwl.app.game.core.GameStateAbility
|
||||
import com.chwl.app.game.data.GameModel2
|
||||
import com.chwl.core.bean.response.BeanResult
|
||||
import com.chwl.library.utils.ResUtil
|
||||
import kotlinx.coroutines.flow.MutableSharedFlow
|
||||
|
||||
class GameViewModel : BaseViewModel() {
|
||||
|
Reference in New Issue
Block a user