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
- Sqoop
- Kotlin
- xPlatform
- react
- mapreduce
- 정렬
- es6
- tomcat
- IntelliJ
- 공정능력
- hadoop
- vaadin
- MSSQL
- Spring
- Express
- Eclipse
- SPC
- 보조정렬
- table
- mybatis
- SQL
- GIT
- JavaScript
- NPM
- Java
- Python
- R
- window
- Android
- maVen
Archives
- Today
- Total
DBILITY
독거 가능성 100% 노후에 라면값이라도 하게 센스를 발휘합시다!😅
Please click on the ad so that I can pay for ramen in my old age!
点击一下广告,让老后吃个泡面钱吧!
老後にラーメン代だけでもするように広告を一回クリックしてください。
안드로이드 recyclerView scroll 본문
반응형
private val smoothScroller: SmoothScroller by lazy {
object : LinearSmoothScroller(binding.root.context) {
override fun getVerticalSnapPreference(): Int {
return SNAP_TO_START
}
}
}
activityMainRecyclerView.apply {
layoutManager = LinearLayoutManager(root.context)
layoutManager?.apply {
smoothScroller.targetPosition = viewModel.items.value.size-1
startSmoothScroll(smoothScroller)
}
itemAnimator = null
adapter = todoListAdapter
}
반응형
'android' 카테고리의 다른 글
open api server address (0) | 2024.03.15 |
---|---|
android studio Project Errors...Unresolved reference: ..... (0) | 2024.03.13 |
안드로이드 dp, dip, sp, sip, dpi , px 등 (0) | 2024.03.11 |
안드로이드 RecyclerView 기초 사용법 ( viewMoldel update 적용 ) (0) | 2024.03.11 |
kotlin reduce, fold (0) | 2024.03.11 |
Comments