Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- CSS
- ViewModel
- 스터디
- Dropdown
- aab
- SWIFT
- CalendarView
- RxJava
- imagepicker
- Kotlin
- javascript
- SplashFragment
- viewpager2
- IOS
- MotionEvent
- MemoList
- web
- Alamofire
- 실행지연
- UIPickerView
- 개발
- RecyclerView
- HTML
- retrofit2
- progressbar
- Android
- ayncAfter
- dispatchQueue
- DispatchTouchEvent
- InAppPurchase
Archives
- Today
- Total
목록GridLayout (1)
멜팅비의 개발 공부
[Android/Kotlin] RecyclerView Drag&Drop 구현하기2 - GridLayout
지난번에 이어 GridLayout을 쓰는 RecyclerView에서 Drag&Drop 기능을 구현하는 방법을 정리하려고 한다. LinearLayout을 사용할 때와 동일하게 ItemTouchHelper를 사용하면 되고, LinearLayout과 동일한 방법으로 Adapter, item Layout을 만들어주고 연결해주면 된다. ItemTouchHelper를 참고하려면 이전 글에서 확인 할 수 있다. 2021.09.23 - [개발 공부/[Android 개발]] - [Android/Kotlin] RecyclerView Drag&Drop, Swipe 구현하기 이때, RecyclerView의 LayoutManager는 GridLayoutManager로 설정하고, spanCount로 한 줄에 들어갈 Item의 수..
개발 공부/[Android 개발]
2021. 10. 7. 00:49