Coverage Summary for Class: MainScreenPreview_androidKt (com.javiersc.samples.features.main)
Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
MainScreenPreview_androidKt |
0%
(0/1)
|
0%
(0/10)
|
0%
(0/2)
|
0%
(0/42)
|
MainScreenPreview_androidKt$MainScreenPreview$1 |
|
Total |
0%
(0/1)
|
0%
(0/10)
|
0%
(0/2)
|
0%
(0/42)
|
package com.javiersc.samples.features.main
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import com.javiersc.samples.features.KaariPreview
import java.util.UUID
@Preview
@Composable
fun MainScreenPreview() = KaariPreview {
val uuid = UUID.randomUUID().toString()
MainScreen(
MainState(
isLoading = false,
characters =
listOf(
com.javiersc.samples.strategies.characters.Character(
uuid,
"Rick + ${uuid.take(7)}"
),
),
)
)
}