Skip to content

Commit

Permalink
[feat/#10] 취미 검색 통신 상태입니다.
Browse files Browse the repository at this point in the history
  • Loading branch information
SYAAINN committed Dec 2, 2024
1 parent 48f7acb commit 6c61aae
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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()
}

0 comments on commit 6c61aae

Please sign in to comment.