Drawer Layout Utils
Class for utilities related to DrawerLayout.
Functions
Link copied to clipboard
open fun getScrimCloseAnimatorListener(@NonNull drawerLayout: DrawerLayout, @NonNull drawerView: View): Animator.AnimatorListener
Returns an AnimatorListener that resets the DrawerLayout scrim color and closes the drawer immediately, on animation end.
Link copied to clipboard
open fun getScrimCloseAnimatorUpdateListener(@NonNull drawerLayout: DrawerLayout): ValueAnimator.AnimatorUpdateListener
Returns an AnimatorUpdateListener that fades out the DrawerLayout scrim color.