我想用自己的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!"));