package com.gh.gamecenter.common.view

import android.content.Context

open class ScrollableLinearLayoutManager(context: Context?): FixLinearLayoutManager(context) {
    var isScrollVerticallyEnabled = true
    var isScrollHorizontallyEnabled = true

    override fun canScrollVertically(): Boolean {
        return isScrollVerticallyEnabled && super.canScrollVertically()
    }

    override fun canScrollHorizontally(): Boolean {
        return isScrollHorizontallyEnabled && super.canScrollHorizontally()
    }
}