This app executes network call to CoinPaprika API and gets info about Cryptocurrencies. The goal of the sample is to
showcase loading data from network with Retrofit, implementing DI and async programming with Coroutines.
Jetpack ComposeKoin DIRetrofitCoroutines
var isVisible by remember { mutableStateOf(false) }
val rotation by animateFloatAsState(targetValue = if (isVisible) 180f else 0f)
Icon(imageVector = Icons.Rounded.ArrowDropDown, modifier = Modifier.rotate(rotation))
AnimatedVisibility(visible = isVisible) {
//content to be hidden and shown on Icon click
}*only 25 coins and tokens are loaded because API provides a huge list of coins. It takes too much time to load data.