본문 바로가기 메뉴 바로가기

blog

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

blog

검색하기 폼
  • 분류 전체보기 (79)
    • JSP (8)
    • SQL (2)
    • JAVA (4)
      • GUI(Swing) (0)
      • Error (0)
      • Programing (1)
      • 정리 (3)
    • Android (53)
      • Fragment (2)
      • Camera (3)
      • ViewPager (5)
      • RecyclerView (2)
      • Notification (3)
      • Layout (2)
      • Room ( Database ) (1)
      • CusomView (1)
      • Etc (20)
      • ReactiveX (1)
      • Firebase (4)
      • Coroutine (0)
      • Wear (3)
      • Sensor (1)
      • Widget (2)
      • CICD (3)
    • Flutter (1)
    • 일상 (11)
  • 방명록

반응형
SMALL
Android/Fragment (2)
반응형
LIST
[ Fragment #2 ] Fragment Bundle ( inc. Serializable )

맨날 까먹어서 기록, 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..

Android/Fragment 2024. 2. 28. 18:19
[ Fragment #1 ] Fragment Lifecycle

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..

Android/Fragment 2022. 9. 19. 15:02
이전 1 다음
이전 다음
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • 공부방
TAG
  • 갤럭시 워치
  • aos img url bitmap
  • wear os
  • 풀배열 키보드
  • widget 이미지 로딩
  • 테스트 앱 배포
  • 폴더블 상태 유지
  • 폴더블 이벤트 받기
  • Fragment data
  • firebase distribution
  • Foldable Event
  • github
  • 쏘렌토 하이브리드
  • Android
  • 안드로이드 폴드 대응
  • widget onreceive
  • 웨어러블
  • 맥 전용
  • github secrets
  • Dot indicator
  • github actions
  • widget glide
  • flutter web
  • 쏘렌토 하이브리드 시그니처
  • 안드로이드 플립 대응
  • widget 만들기
  • widget onupdate
  • 프래그먼트 데이터 저장
  • android widget 만들기
  • 테스트 배포
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바