Listing Data from Api calls in Jetpack Compose
I am trying to practice dependency injections and API calls in Compose but there is a problem , whenever I try to display the Card Composable it doesn't display the Card. I have checked the API call and it seems to be working properly in LogCat. Here is my code:
YuGiOhApp.kt
@SuppressLint("StateFlowValueCalledInComposition")
@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun YuGiOhApp(cardViewModel: CardViewModel = hiltViewModel()) {
val scrollBehavior =...