-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#219 SignRepositoryImpl에서 이메일 인증 로직 구현하도록 수정
- Loading branch information
Showing
4 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
feature/intro/src/main/java/com/android/mediproject/feature/intro/EmailVerificationDialog.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
package com.android.mediproject.feature.intro | ||
|
||
import android.app.Activity | ||
import com.android.mediproject.feature.intro.databinding.DialogEmailVerificationBinding | ||
import com.google.android.material.dialog.MaterialAlertDialogBuilder | ||
|
||
fun emailVerificationDialog(activity: Activity, verifyCode: (String) -> Unit, resendCode: () -> Unit) { | ||
val binding = DialogEmailVerificationBinding.inflate(activity.layoutInflater, null, false) | ||
val dialogBuilder = MaterialAlertDialogBuilder(activity).apply { | ||
_binding = FragmentMyPageMoreDialogBinding.inflate(layoutInflater, null, false) | ||
setView(onCreateView(layoutInflater, binding.rootLayout, savedInstanceState)) | ||
setView(binding.root) | ||
} | ||
|
||
binding.apply { | ||
|
||
} | ||
dialogBuilder.create().show() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters