일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- image
- RecyclerView
- WebView
- 안드로이드
- 깃헙
- GIT
- Gradle
- 의존성주입
- build
- 안드로이드 스튜디오
- ADB
- 레트로핏
- 에러
- viewpager
- 유튜브
- 웹뷰
- Github
- MVVM
- Kotlin
- 안드로이드스튜디오
- dart
- Android
- 코루틴
- 스튜디오
- studio
- 코틀린
- 안스
- error
- coroutine
- Retrofit
- Today
- Total
목록Adapter (2)
코딩하는 일용직 노동자

리사이클러뷰를 구현하기 위해 어댑터를 만드는 과정은 다소 귀찮거나 복잡하다고 느낍니다. 특히나 뷰타입을 다르게 꾸며줘야 할때는 더더욱... Kotlin 환경에서 리사이클러뷰 어댑터를 쉽고 빠르고 편리하게 사용할 수 있게 도와주는 라이브러리가 나왔습니다. https://github.com/ibrahimyilmaz/kiel ibrahimyilmaz/kiel Kotlin way of building RecyclerView Adapter 🧩. You do not have to write RecyclerView Adapters again and again and suffer from handling of different view types. Kiel will help you. - ibrahimyilmaz/kie..

RecyclerView Adapter Boilerplate Code #1 기본적인 어댑터 import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView.ViewHolder class MyAdapter: RecyclerView.Adapter() { private var context: Context? = null override fun onCreateViewHolder(parent:..