Put xml file "api_keys.xml" in the directory "res/value/".
api_keys.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="THE_MOVIE_DB_API_TOKEN">XXXXX</string>
</resources>
for (const checkbox of document.querySelectorAll('.js-reviewed-checkbox')) { | |
if (checkbox.attributes["data-ga-click"].value.includes("value:false")) { | |
checkbox.click(); | |
} | |
} |
@OptIn(ExperimentalFoundationApi::class) | |
@Composable | |
fun AnimatedBallGrid( | |
numBalls: Int = 32, | |
numBallsPrRow: Int = 7, | |
) { | |
// viewModel contains an observable list of balls | |
val viewModel: BallsViewModel by remember { mutableStateOf(BallsViewModel(numBalls)) } // TODO: Use injection instead | |
var animationSpeed: AnimationSpeed by remember { mutableStateOf(AnimationSpeed.Fast) } |
import android.os.Bundle | |
import androidx.activity.ComponentActivity | |
import androidx.activity.compose.setContent | |
import androidx.compose.animation.core.Animatable | |
import androidx.compose.animation.core.Spring | |
import androidx.compose.animation.core.VectorConverter | |
import androidx.compose.animation.core.spring | |
import androidx.compose.foundation.BorderStroke | |
import androidx.compose.foundation.gestures.awaitFirstDown | |
import androidx.compose.foundation.gestures.forEachGesture |