11 lines
453 B
Kotlin
11 lines
453 B
Kotlin
package com.adlerosn.brasilfurfest.helper
|
|
|
|
import android.content.Context
|
|
import com.brandongogetap.stickyheaders.StickyLayoutManager
|
|
import com.brandongogetap.stickyheaders.exposed.StickyHeaderHandler
|
|
|
|
class TopSnappedStickyLayoutManager(context: Context, headerHandler: StickyHeaderHandler) : StickyLayoutManager(context, headerHandler) {
|
|
override fun scrollToPosition(position: Int) {
|
|
super.scrollToPositionWithOffset(position, 0)
|
|
}
|
|
} |