#8085 removed findViewById with actual id
parent
9fc5a1b0fe
commit
afab1c0f4e
|
@ -831,8 +831,7 @@ class HomeFragment : Fragment() {
|
|||
}
|
||||
|
||||
private fun calculateNewOffset() {
|
||||
homeAppBarOffset = ((view!!.findViewById<AppBarLayout>(R.id.homeAppBar)
|
||||
.layoutParams as CoordinatorLayout.LayoutParams)
|
||||
homeAppBarOffset = ((homeAppBar.layoutParams as CoordinatorLayout.LayoutParams)
|
||||
.behavior as AppBarLayout.Behavior).topAndBottomOffset
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue