创建自定义候诊室

时间:2018-09-07 18:44:34

标签: android google-play-games

我想用自己的UI替换默认的内置等候室,我该怎么做?

mRealTimeMultiplayerClient.getWaitingRoomIntent(room, MIN_PLAYERS)
            .addOnSuccessListener(new OnSuccessListener<Intent>() {
                @Override
                public void onSuccess(Intent intent) {
                    // show waiting room UI
                    startActivityForResult(intent, RC_WAITING_ROOM);
                }
            })
            .addOnFailureListener(createFailureListener("There was a problem getting the waiting room!"));

0 个答案:

没有答案