맨날 까먹어서 기록, Fragment 로 데이터를 전달 할때 Bundle 을 사용한다. 2024.02.28 - [Android/Etc] - [ Etc #15 ] Bundle vs Intent [ Etc #15 ] Bundle vs Intent 간단하게 정리 Intent 는 데이터를 전달하는 개념이고, Bundle 은 데이터를 저장하는 용도 주로 Activity 에 데이터를 전달 할 때에는 Intent 를 사용. Fragment 로 데이터를 저장(?) 할때에는 Bundle 을 사용.. jihunstudy.tistory.com FragmentMain().apply { arguments = Bundle().apply { putInt("int", 2) putString("string", "22") putBool..
Fragment는 Activity Lifecycle 내에서 또 다른 Lifecycle을 갖는 Layout으로 FragmentManager를 이용하여 관리된다. 방법은 replace 하는 방법과 모두 add 시키고 show / hide 하는 방법으로 Fragment를 관리할 수 있다. 이에 따른 Fragment Lifecycle이 달라질 수 있다는 것을 꼭 확인하자. supportFragmentManager .beginTransaction() .replace(R.id.frameLayout, fragment) .commitNow() ----------------------------------- 최초 등록 ----------------------------------- 2022-09-19 14:45:40.7..
- Total
- Today
- Yesterday
- 폴더블 이벤트 받기
- widget onreceive
- 폰과 워치 페어링
- 맥 전용
- 웨어러블
- 가중치랜덤
- 안드로이드 플립 대응
- Dot indicator
- 역시 키크론이네
- Android
- Fragment data
- 쏘렌토 하이브리드 시그니처
- 프래그먼트 데이터 저장
- 쏘렌토 하이브리드
- wear os
- 풀배열 키보드
- flutter web
- 갤럭시 워치
- RandomColor
- 폴더블 상태 유지
- android widget 만들기
- widget onupdate
- widget glide
- widget 만들기
- 랜덤컬러
- Android Wear Os
- widget 이미지 로딩
- 안드로이드 폴드 대응
- aos img url bitmap
- Foldable Event
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |