Skip to content

Instantly share code, notes, and snippets.

View ininmm's full-sized avatar
🎯
Focusing

ininmm

🎯
Focusing
View GitHub Profile
@ininmm
ininmm / HeaderItemDecoration.kt
Created July 3, 2020 06:59 — forked from filipkowicz/HeaderItemDecoration.kt
Item Decorator for sticky headers in Kotlin
package com.filipkowicz.headeritemdecorator
/*
solution based on - based on Sevastyan answer on StackOverflow
changes:
- take to account views offsets
- transformed to Kotlin
- now works on viewHolders