Skip to content

Instantly share code, notes, and snippets.

View mohamedmelfiky's full-sized avatar

Mohamed Elfiky mohamedmelfiky

  • Alexandria, Egypt
View GitHub Profile
@Composable
fun LazyBug() {
var list by remember { mutableStateOf((0..30).toList()) }
launchInComposition {
delay(3000)
list = (0..10).toList()
}
package com.example.testcomposeapp.taskedin
import androidx.annotation.DrawableRes
import androidx.annotation.FloatRange
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.Canvas
import androidx.compose.foundation.Icon
import androidx.compose.foundation.Image
import androidx.compose.foundation.Text