Skip to content

Instantly share code, notes, and snippets.

@viroth-ty
viroth-ty / SwipeableCards.kt
Created December 12, 2024 02:35 — forked from c5inco/SwipeableCards.kt
Jetpack Compose implementation of inspiration: https://twitter.com/philipcdavis/status/1534192823792128000
package des.c5inco.cardswipecompose
import androidx.compose.animation.core.Animatable
import androidx.compose.animation.core.CubicBezierEasing
import androidx.compose.animation.core.LinearOutSlowInEasing
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.calculateTargetValue
import androidx.compose.animation.core.keyframes
import androidx.compose.animation.splineBasedDecay
@viroth-ty
viroth-ty / AuthInterceptor.kt
Last active January 24, 2022 15:23
Refresh token
package com.cg.pandago.vender.data.http
import com.cg.pandago.vender.BuildConfig
import com.cg.pandago.vender.PandaGoVendorApp
import com.cg.pandago.vender.data.local.SharedPreferenceHelper
import com.cg.pandago.vender.model.Authorize
import com.cg.pandago.vender.util.Constant
import com.google.gson.Gson
import com.google.gson.JsonObject
import kotlinx.coroutines.InternalCoroutinesApi