All Demos are available in Comments
Thanks to Kyriakos-Georgiopoulos
All Demos are available in Comments
Thanks to Kyriakos-Georgiopoulos
| /* | |
| * Copyright 2026 Kyriakos Georgiopoulos | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * https://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| package bruhcollective.itaysonlab.libvibrancy | |
| import android.graphics.Bitmap | |
| import androidx.compose.ui.graphics.Color | |
| import androidx.compose.ui.graphics.Paint | |
| import androidx.core.graphics.applyCanvas | |
| import bruhcollective.itaysonlab.libvibrancy.VibrancyMaterial | |
| import coil3.size.Size | |
| import coil3.transform.Transformation | |
| import com.google.android.renderscript.Toolkit |
| 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 |
| [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" |
| [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" |
| [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 |
| /** | |
| * 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 |