configureViewBasedOnOrientation

fun configureViewBasedOnOrientation(orientation: Int, paddingHorizontal: Int)

Reconfigures item decorations and the layout manager for the given orientation.