diff --git a/app/src/main/java/org/sopt/and/presentation/ui/main/screen/HobbySearchState.kt b/app/src/main/java/org/sopt/and/presentation/ui/main/screen/HobbySearchState.kt new file mode 100644 index 0000000..ca26711 --- /dev/null +++ b/app/src/main/java/org/sopt/and/presentation/ui/main/screen/HobbySearchState.kt @@ -0,0 +1,10 @@ +package org.sopt.and.presentation.ui.main.screen + +import org.sopt.and.domain.model.Hobby + +sealed class HobbySearchState { + data object Idle: HobbySearchState() + data object Loading: HobbySearchState() + data class Success(val result: Hobby): HobbySearchState() + data class Failure(val errorMessage: String): HobbySearchState() +} \ No newline at end of file