wlsdyd68592674
@wlsdyd68592674
Reviews Written
1
Average Rating
5.0
Posts
Q&A
Fragment UserViewFragment{755083c (97350660-0d15-4791-b814-9fd04e9c5cc3)} not attached to a context ์ค๋ฅ๋ฌธ์
์ ๋ override fun onDestroy() { super.onDestroy() registration!!.remove()} ์ด๋ ๊ฒ ์ฌ์ฉํ๊ณ ์์ต๋๋ค~ ์กํฐ๋นํฐ๋ ํ๋๊ทธ๋จผํธ์ ์์ ์ฃผ๊ธฐ์ ๋ฐ๋ผ ํ๋ฉด์ด ์ฌ๋ผ์ง๋ ๋ถ๋ถ์์ remove๋ฅผ ํด์ฃผ๋ฉด ๋ฉ๋๋ค registration์ var registration: ListenerRegistration? = null ์ด๋ ๊ฒ ์ ์ญ์ผ๋ก ์ ์ธํ๊ณ ์ค๋ ์ท์ผ๋ก ์ฌ์ฉํ๋ฉด ๋ฉ๋๋ค registration = firestore!!.collection("reunions").document(reunionUid).addSnapshotListener { value, error -> if (value == null) return@addSnapshotListener reunionDTO = value.toObject(ReunionDTO::class.java)!}
- 2
- 7
- 472
Q&A
์๊ฐํ์ต๋๋ค!
๊ฐ์ฌํฉ๋๋ค!
- 0
- 2
- 202
Q&A
Fragment UserViewFragment{755083c (97350660-0d15-4791-b814-9fd04e9c5cc3)} not attached to a context ์ค๋ฅ๋ฌธ์
๊ฐ์ฌํฉ๋๋ค!
- 2
- 7
- 472
Q&A
Fragment UserViewFragment{755083c (97350660-0d15-4791-b814-9fd04e9c5cc3)} not attached to a context ์ค๋ฅ๋ฌธ์
์ด๋ ๋ถ๋ถ์์ remove๋ฅผ ์์ผ์ฃผ์ด์ผ ํ๋ ๊ฑด๊ฐ์??
- 2
- 7
- 472
Q&A
glide load์๋ ์ด๋ฏธ์งurl์ด ๋ค์ด๊ฐ์ผ๋๋๊ฒ ์๋๊ฐ์?
์ด๊ฑฐ ์ด๋ฏธ์ง ์ ๋ก๋ ํ ๋ addOnSuccessListener๊ฐ ์๋๋ผ addOnCompleteListener์จ์ ๊ทธ๋์. addOnSuccessListener ์ฐ๋ฉด Store Url ๋ค์ด๊ฐ๋๋ค
- 1
- 3
- 258




