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 |
Tags
- datastore
- Blinking
- prettyJson
- webview
- onReceivedSslError
- LOG
- jsontokotlinclass
- App Startup
- application
- notification
- ActivityResultContracts
- kdoc-generator
- ExifInterface
- itemAnimator
- 이미지 gps
- room
- notification bar
- notification setting
- BottomSheetDialog
- ChromeCustomTab
- Plugins
- navigation component
- circlecrop
- requestPermission
- Git
- skipcollapsed
- shotcut
- onResume
- Android
- 403 Error
Archives
- Today
- Total
목록안드로이드 (1)
Debbi Story
Navigation Component data전달하기
https://developer.android.com/guide/navigation/navigation-pass-data#supported_argument_types 위에 공식 문서에서 data를 전달 할 수 있는 타입을 확인하시고 이런식으로 data를 전달 받을 fragment에 argument 태그로 추가해줍니다. 사용자정의 타입도 전달 할 수 있고 Array타입으로도 넘길 수 있습니다. @Parcelize data class UserInfo( val name: String, val age: Int ): Parcelable 사용자정의 타입을 사용할 경우 Parcelable나 Serializable를 구현해야 합니다. 이전에는 Parcelable를 구현하려면 코드가길어지고 복잡했지만 @Parcelize..
안드로이드/Tip
2020. 11. 10. 01:43