
심플하게 인디케이터를 사용해야 할 때 class IndicatorDotView @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 ): LinearLayout(context, attrs, defStyleAttr) { private val dotList = mutableListOf() init { orientation = LinearLayout.HORIZONTAL } fun withViewPager(viewPager: ViewPager2) { initDotView(viewPager.adapter?.itemCount ?: 0) } fun select(index: Int) { dotList...
맨날 까먹어서 기록, 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..
- Total
- Today
- Yesterday
- flutter web
- android widget 만들기
- 랜덤컬러
- aos img url bitmap
- Android
- wear os
- 폴더블 상태 유지
- widget 이미지 로딩
- widget glide
- widget onupdate
- 웨어러블
- widget 만들기
- Fragment data
- Android Wear Os
- 역시 키크론이네
- 프래그먼트 데이터 저장
- RandomColor
- 가중치랜덤
- 맥 전용
- 안드로이드 플립 대응
- Dot indicator
- 쏘렌토 하이브리드 시그니처
- 풀배열 키보드
- 폴더블 이벤트 받기
- widget onreceive
- 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 |