-
Notifications
You must be signed in to change notification settings - Fork 0
π :: (#78) λκΈ μμ± κ΅¬ν #87
The head ref may contain hidden characters: "feature/78-\uB313\uAE00-\uC791\uC131-\uAD6C\uD604"
Conversation
import com.google.gson.annotations.SerializedName | ||
|
||
data class CreatePostRequest( | ||
@SerializedName("content") val content: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ΄ νμΌ νΉμ λκΈ μμ± requestμ΄λ©΄ ν΄λμ€ λ€μ΄λ° λ€μνλκ² μ’μ§ μμκΉμ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
νΌλ μμ±μ΄λ ν·κ°λ €μ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ κ·Έλ¬λ€μ
@@ -81,13 +81,30 @@ internal class FeedViewModel( | |||
with(state.value) { | |||
viewModelScope.launch(Dispatchers.IO) { | |||
feedRepository.fetchPostComments(feedId).onSuccess { | |||
_comments.clear() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ΄κ±° μ clear λ©μλ μ°μ ¨λμ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ μμ§μ ꡬν λ°©λ²μ΄ λ±ν λ μ€λ₯΄μ§ μμμ λκΈ μμ± μ±κ³΅ν λλ§λ€ λκΈ μ 체 리μ€νΈλ₯Ό λ€μ μ‘°ννλλ‘ κ΅¬νν΄λ¨λλ° λκΈ λ¦¬μ€νΈλ₯Ό μ΄κΈ°ν νμ§ μμΌλ©΄ λΆλ¬μ€κΈ° μ λ°μ΄ν°κ° κ·Έλλ‘ λ¨μμμ΄μ
κ·Έλμ ν΄μ€
κ°μ
μμ μ¬ν
μΆκ° λ‘ ν λ§