Skip to content

Instantly share code, notes, and snippets.

View se-rg-os's full-sized avatar
💭
¯\_(ツ)_/¯

Sergos se-rg-os

💭
¯\_(ツ)_/¯
View GitHub Profile
@se-rg-os
se-rg-os / HeaderItemDecoration.kt
Created August 8, 2019 08:33 — forked from filipkowicz/HeaderItemDecoration.kt
Item Decorator for sticky headers in Kotlin
/*
solution based on - based on Sevastyan answer on StackOverflow
changes:
- take to account views offsets
- transformed to Kotlin
- now works on viewHolders
- try to cache viewHolders between draw's

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-completions & zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-completions by