itemDecoration ItemDecoration ViewType에 따라 다른 divider 주기 class Decoration( context: Context, resId: Int, val paddingLeft: Int, val paddingRight: Int ) : RecyclerView.ItemDecoration() { private var mDivider: Drawable? = null init { mDivider = ContextCompat.getDrawable(context, ... androiditemDecorationandroid
ItemDecoration ViewType에 따라 다른 divider 주기 class Decoration( context: Context, resId: Int, val paddingLeft: Int, val paddingRight: Int ) : RecyclerView.ItemDecoration() { private var mDivider: Drawable? = null init { mDivider = ContextCompat.getDrawable(context, ... androiditemDecorationandroid