diff --git a/app/src/main/java/com/example/jetpack_compose_all_in_one/demos/random_fox/RandomFoxUI.kt b/app/src/main/java/com/example/jetpack_compose_all_in_one/demos/random_fox/RandomFoxUI.kt new file mode 100644 index 00000000..f808c228 --- /dev/null +++ b/app/src/main/java/com/example/jetpack_compose_all_in_one/demos/random_fox/RandomFoxUI.kt @@ -0,0 +1,15 @@ +package com.example.jetpack_compose_all_in_one.demos.random_fox + +import androidx.compose.runtime.Composable +import androidx.compose.ui.tooling.preview.Preview + +@Preview +@Composable +fun RandomFoxUIPrev() { + //call the @RandomFoxUI function +} + +@Composable +fun RandomFoxUI() { + //Implement the UI for random Fox here... +} \ No newline at end of file diff --git a/app/src/main/java/com/example/jetpack_compose_all_in_one/features/random_fox/model/RandomFoxImpl.kt b/app/src/main/java/com/example/jetpack_compose_all_in_one/features/random_fox/model/RandomFoxImpl.kt index 501e20a0..07d19191 100644 --- a/app/src/main/java/com/example/jetpack_compose_all_in_one/features/random_fox/model/RandomFoxImpl.kt +++ b/app/src/main/java/com/example/jetpack_compose_all_in_one/features/random_fox/model/RandomFoxImpl.kt @@ -38,14 +38,10 @@ class RandomFoxImpl @Inject constructor(@RandomFoxAPI val service: RandomFoxServ it.toString() ) ) - } } - } - } override fun getRandomFoxRxJava() = service.getRandomFoxUsingRxJava() - } \ No newline at end of file