Skip to content

Instantly share code, notes, and snippets.

View BobbyESP's full-sized avatar

Gabriel Fontán BobbyESP

View GitHub Profile
@JunkFood02
JunkFood02 / Motion.kt
Last active May 24, 2024 21:31
A music player demo made with Jetpack Compose animation APIs, including shared element transition, list animations, animated content, etc.
package com.example.compose_debug
import androidx.compose.animation.EnterTransition
import androidx.compose.animation.ExitTransition
import androidx.compose.animation.core.CubicBezierEasing
import androidx.compose.animation.core.Easing
import androidx.compose.animation.core.FastOutLinearInEasing
import androidx.compose.animation.core.FastOutSlowInEasing
import androidx.compose.animation.core.LinearOutSlowInEasing
import androidx.compose.animation.core.PathEasing
@BobbyESP
BobbyESP / libs.versions.toml
Created May 21, 2023 13:30
Another nice and updated TOML file with Android libraries and more, including GMS, DI, Jetpakc Compose, Accompanist...
[versions]
#General, lifecycle and core
agp = "8.2.0-alpha04"
kotlin = "1.8.21"
core-ktx = "1.10.1"
lifecycle-runtime-ktx = "2.6.1"
activity-compose = "1.7.1"
compose-compiler = "1.4.7"
ksp = "1.8.21-1.0.11"
@BobbyESP
BobbyESP / libs.versions.toml
Created April 29, 2023 10:05
A very complete TOML file for Android Development mainly thought for the new Jetpack Compose framework
[versions]
accompanist = "0.29.2-rc"
androidGradlePlugin = "7.4.2"
androidxComposeBom = "2023.01.00"
androidxComposeCompiler = "1.4.6"
androidxCore = "1.10.0-rc01"
androidMaterial = "1.9.0-alpha02"
androidxAppCompat = "1.7.0-alpha02"
androidxActivity = "1.7.1"
markdownDependency = "0.3.2"
@Kavan72
Kavan72 / endpoints.txt
Last active June 20, 2024 11:32
Valorant endpoints
[PlayerFeedback_CheckForSurvey] POST
[PlayerFeedback_SendAnswers] POST
[PatchNotes_GetPatchNotes] GET
[AggStats_Fetch] GET
[AccountXP_GetPlayer] GET https://pd.ap.a.pvp.net/account-xp/v1/players/{user_id}
[Config_FetchConfig] GET https://shared.ap.a.pvp.net/v1/config/ap
@antonshilov
antonshilov / NullableExtensions.kt
Last active May 1, 2024 07:11
Kotlin extension function for nullable types to cast them to non-null or get a default value
/**
* Kotlin extension function for nullable types to cast them to non-null or get a default value
*/
public inline fun <T> T?.or(default: T): T = this ?: default