Skip to content

Instantly share code, notes, and snippets.

View siddhraj-sinh's full-sized avatar
🎯
Focusing

siddhraj rathod siddhraj-sinh

🎯
Focusing
View GitHub Profile
@siddhraj-sinh
siddhraj-sinh / Proposal template.md
Created December 8, 2021 04:35 — forked from liyasthomas/Proposal template.md
GitHub Externship - Proposal Template

Application number:

Full name:

E-mail:

GitHub username:

Prior experience:

  • HTML
@siddhraj-sinh
siddhraj-sinh / Animated elipses.kt
Created May 28, 2021 13:08 — forked from MarkNjunge/Animated elipses.kt
Animated ellipses in Android
val spannableString = SpannableString("Loading...")
val transparentColorSpan = ForegroundColorSpan(Color.TRANSPARENT)
ValueAnimator.ofInt(0, 4).apply {
repeatCount = 10
duration = 1000
addUpdateListener { valueAnimator ->
val dotsCount = valueAnimator.animatedValue as Int
if (dotsCount < 4) { // 4 is the number of ellipses + 1
spannableString.setSpan(