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 |
Tags
- DataBinding
- Android
- Navigation
- CoordinatorLayout
- activity
- hilt
- BOJ
- Behavior
- 안드로이드
- 알림
- recyclerview
- onMeasure
- AppBarLayout
- Coroutine
- CollapsingToolbarLayout
- room
- LiveData
- kotlin
- sqlite
- HTTP
- onLayout
- 코틀린
- Algorithm
- notification
- 백준
- CustomView
- ViewModel
- 알고리즘
- View
- lifecycle
Archives
- Today
- Total
목록FloatingActionButton (2)
개발일지

CollapsingToolbarLayout이 CollapseMode인지 아닌지 Handling하기 binding.nestedScrollView.setOnScrollChangeListener { v, scrollX, scrollY, oldScrollX, oldScrollY -> if (scrollY >= binding.toolbar.height && oldScrollY = binding.toolbar.height){ Log.d("COORDINATOR", "EXPANDED") } } Floati..
Android (안드로이드)/CoordinatorLayout
2021. 1. 27. 01:52
삽질 - Android CoordinatorLayout Floating Action Button
CoordinatorLayout은 View의 Visible상태가 GONE인 것은 생략하기 때문에 FloatingActionButton을 그냥 hide로 숨기면 그 다음부터 상태전달을 생략한다. (hide는 View의 Visible을 GONE으로 만들기 때문) => hide에 재정의한 리스너를 달아주자!! override fun onNestedScroll(coordinatorLayout: CoordinatorLayout, child: FloatingActionButton, target: View, dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, type: Int, consumed: IntArray) { super.onNeste..
삽질
2020. 12. 10. 02:32