private void initialize ( ) { width = getContext ( ) . getResources ( ) . getDimensionPixelSize ( R . dimen . default_width ) ; maximize = false ; adapter = new DividableGridAdapter ( getContext ( ) , Style . LIST , width ) ; super . setOnShowListener ( createOnShowListener ( ) ) ; }
Initializes the bottom sheet .