[kotlin]fragment context error해결방법
fragment에서 context 를 넣을려고 하는데 에러가 나온다..
requireContext() 넣으면 된다..
'android,kotlin' 카테고리의 다른 글
[kotlin]GraphRequest can't be used when Facebook SDK isn't fully initialized android 해결방법 (0) | 2021.11.12 |
---|---|
[kotlin]More than one file was found with OS independent path 'filename'에러 해결방법 (0) | 2021.11.11 |
[kotlin] not build viewbinding 해결방법 (0) | 2021.10.26 |
[kotlin]Must be called from main thread of fragment host해결방법 (0) | 2021.10.06 |
[kotlin] date custome formmater 방법 (0) | 2021.09.28 |