-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from nbCamp-24-02-19/mypage
✨Feat : Mypage
- Loading branch information
Showing
29 changed files
with
628 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
app/src/main/java/com/seven/colink/ui/post/PostCommentViewHolder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.seven.colink.ui.post | ||
|
||
import android.content.Context | ||
import com.seven.colink.databinding.ItemPostCommentBinding | ||
import com.seven.colink.databinding.ItemPostCommentSendBinding | ||
import com.seven.colink.databinding.ItemPostCommentTitleBinding | ||
import com.seven.colink.ui.post.content.adapter.PostContentListAdapter | ||
import com.seven.colink.ui.post.content.model.PostContentItem | ||
|
||
class PostCommentCountViewHolder( | ||
private val context: Context, | ||
private val binding: ItemPostCommentTitleBinding | ||
): PostContentListAdapter.PostViewHolder(binding.root) { | ||
|
||
override fun onBind(item: PostContentItem) { | ||
val commentCount = binding.tvPostCommentCount | ||
} | ||
|
||
} | ||
|
||
class PostCommentViewHolder( | ||
private val context: Context, | ||
private val binding: ItemPostCommentBinding | ||
): PostContentListAdapter.PostViewHolder(binding.root) { | ||
|
||
override fun onBind(item: PostContentItem) { | ||
val commentName = binding.tvPostCommentName | ||
val commentTime = binding.tvPostCommentTime | ||
val comment = binding.tvPostComment | ||
} | ||
|
||
} | ||
|
||
class PostCommentSendViewHolder( | ||
private val context: Context, | ||
private val binding: ItemPostCommentSendBinding | ||
): PostContentListAdapter.PostViewHolder(binding.root) { | ||
|
||
override fun onBind(item: PostContentItem) { | ||
val sendEdit = binding.etPostCommentSend | ||
val sendClick = binding.btnPostCommentSend | ||
} | ||
|
||
} |
Oops, something went wrong.