setScrollBarEnabled
fun setScrollBarEnabled(isScrollBarNeeded: Boolean, scrollbarDrawable: Drawable? = AppCompatResources.getDrawable(
context,
android.R.color.darker_gray
))
used for customizing the scrollbar
Parameters
isScrollBarNeeded
to show if scrollbar needed to be shown or not
scrollbarDrawable
customized drawable for scrollbar