Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 안드로이드 스튜디오
- Dialog
- 안드로이드스튜디오
- Kotlin
- 코틀린
- button
- OutlinedButton
- androidstudio
- EditText
- ArrayList
- firebase
- 밑줄
- BottomSheetDialog
- textview
- MaterialButton
- firebasefunctions
- Activity
- 안드로이드
- RealtimeDB
- 팝업액티비티
- 랜덤ID
- FRAGMENT
- lifecyclescope
- ROOM
- nav_graph
- Android
- ViewModel
- 뷰바인딩
- Imageview
- ButtonWithButton
Archives
- Today
- Total
목록Firebase/FirebaseAuth (1)
안드로이드 앱 개발
로그인 기능
1. Firebase 연결 (다른 글 참고) 2. FirebaseAuth 객체 생성 및 초기화 private lateinit var auth: FirebaseAuth // 객체 생성 ... //onCreate에서 초기화 // Initialize Firebase Auth auth = FirebaseAuth.getInstance() 3. 로그인 //ID, PASSWORD 매칭 확인 private fun isValidCheck() { auth.signInWithEmailAndPassword( 아이디 Stirng , 비밀번호 String) .addOnCompleteListener(this) { task -> if (task.isSuccessful) { // Sign in success, update UI wit..
Firebase/FirebaseAuth
2021. 4. 17. 14:54