일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- 프로그래머스 알고리즘
- OkHttp Interceptor
- Android 12 대응
- 영어독립365
- android recyclerview
- Android WebView
- 안드로이드 fcm
- 안드로이드 갤러리 접근
- DataBinding
- MVP Architecture
- Kotlin FCM
- 안드로이드 카카오 로그인
- scope function
- 카카오 알고리즘
- Android ViewPager2
- Android 12
- 66챌린지
- Android
- Android Jetpack
- Android Navigation
- WebView
- 안드로이드
- Android DataBinding
- 영어공부
- Java
- 알고리즘 자바
- 습관만들기
- Android Interceptor
- Android ProgressBar
- Kotlin
Archives
- Today
- Total
목록ViewPager2 and TabLayout (1)
Developer Geek
[Android] ViewPager2 and TabLayout Sample in Kotlin
ViewPager2 and TabLayout Sample 개요 앱 설명 ViewPager2와 TabLayout을 사용해 탭 클릭을 통해서 뷰가 스와이프되고, 스와이프를 뷰가 변하고 활성화되는 탭도 바뀌는 앱을 만들어보려고 한다. 실행영상 Code build.gradle(Module): ViewBinding 추가 ViewBinding 사용을 위해 build.gradle(:Module)파일에서 android { } 태그의 속성 값으로 아래와 같이 ViewBinding을 허용해준다. android { ... buildFeatures{ viewBinding true } ... } activity_main.xml TabLayout: 탭 생성을 위한 View ViewPager2: 탭과 연결 될 View fragme..
안드로이드/View
2022. 7. 28. 21:24