From 6c61aaeaa4e44397dad1e339a43b992bf98523b1 Mon Sep 17 00:00:00 2001 From: SYAAINN Date: Mon, 2 Dec 2024 23:01:01 +0900 Subject: [PATCH] =?UTF-8?q?[feat/#10]=20=EC=B7=A8=EB=AF=B8=20=EA=B2=80?= =?UTF-8?q?=EC=83=89=20=ED=86=B5=EC=8B=A0=20=EC=83=81=ED=83=9C=EC=9E=85?= =?UTF-8?q?=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../presentation/ui/main/screen/HobbySearchState.kt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/src/main/java/org/sopt/and/presentation/ui/main/screen/HobbySearchState.kt 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