package Ġcom . abs int he . lib checker . view . detail Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroid . widget . LinearLayout Ċ import Ġandroidx . recyclerview . widget . Linear LayoutManager Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . abs int he . lib checker . extensions . add System Bar Padding Ċ import Ġcom . abs int he . lib checker . extensions . dp Ċ import Ġcom . abs int he . lib checker . recyclerview . Vertical Spaces Item Decoration Ċ import Ġcom . abs int he . lib checker . recyclerview . adapter . detail . App Bundle Adapter Ċ Ċ class ĠApp Bundle Bottom Sheet View ( context : ĠContext ) Ġ: ĠLinearLayout ( context ) Ġ{ ĊĊĠĠĠ Ġval Ġadapter Ġby Ġlazy Ġ{ ĠApp Bundle Adapter () Ġ} ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġlayout Params Ġ= ĠViewGroup . LayoutParams ( ViewGroup . LayoutParams . MATCH _ PARENT , ĠViewGroup . LayoutParams . WRAP _ CONTENT ) ĊĠĠĠĠĠĠĠ Ġset Padding ( 2 4 . dp , Ġ 1 6 . dp , Ġ 2 4 . dp , Ġ 0 ) ĊĠĠĠĠĠĠĠ Ġval Ġlist Ġ= ĠRecyclerView ( context ). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġlayout Params Ġ= ĠLayout Params ( ViewGroup . LayoutParams . MATCH _ PARENT , ĠViewGroup . LayoutParams . WRAP _ CONTENT ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġover Scroll Mode Ġ= ĠRecyclerView . OVER _ SCROLL _ NE VER ĊĠĠĠĠĠĠĠĠĠĠĠ Ġadapter Ġ= Ġthis @ App Bundle Bottom Sheet View . adapter ĊĠĠĠĠĠĠĠĠĠĠĠ Ġlayout Manager Ġ= ĠLinearLayoutManager ( context ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġadd Item Decoration ( Vertical Spaces Item Decoration ( 4 . dp )) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġadd System Bar Padding ( add StatusBar Padding Ġ= Ġfalse ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġadd View ( list ) ĊĠĠĠ Ġ} Ċ }