Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

마이페이지 #74

Merged
merged 5 commits into from
Jul 17, 2024
Merged

마이페이지 #74

merged 5 commits into from
Jul 17, 2024

Conversation

junjange
Copy link
Member

이슈

개발 사항

  • 마이 페이지 구현

@junjange junjange added 🤖 android android ✨ feat 기능 개발 labels Jul 16, 2024
@junjange junjange self-assigned this Jul 16, 2024
Copy link

github-actions bot commented Jul 16, 2024

Test Results

3 tests  ±0   3 ✅ ±0   0s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 7e4b064. ± Comparison against base commit 4882997.

♻️ This comment has been updated with latest results.

jinuemong
jinuemong previously approved these changes Jul 16, 2024
Copy link
Contributor

@jinuemong jinuemong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 🙇‍♂️🙇‍♂️

val dogs: List<Dog> = emptyList(),
)

data class Dog(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ui model인가요?
패키지 분리하거나 나중에 수정할 코드라면 TODO로 명시해도 좋습니다 !!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetchDummy()
}

private fun fetchDummy() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fetchDummy에 실패할 경우 or 리스트가 없는 경우에 대한 케이스도 구상되어 있을까요?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

에러 처리에 대한 이야기를 더 자세히 나눠야할 것 같아 구현하지 않았습니다!!

@@ -31,3 +31,27 @@ fun ImageView.bindProfile1000(bitmap: Bitmap?) {
.transform(CenterCrop(), RoundedCorners(1000))
.into(this)
}

@BindingAdapter("glideProfile1000")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

공용 파일 분리👍

<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<!-- <gradient-->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요건 주석처리한 이유가 있을까요?

Copy link
Member Author

@junjange junjange Jul 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

헉 지워야할 것 같습니다! 7e4b064

Copy link
Contributor

@dpcks0509 dpcks0509 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생했어요~

Comment on lines +5 to +10
data class MyPageUiState(
val nickname: String = "",
val email: String = "",
val profilePath: String? = null,
val dogs: List<Dog> = emptyList(),
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nickname, email에 default-value 가 있는 다른 이유가 있나요?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

닉네임과 이메일에 null값이 들어와도 화면에는 보이도록 하기 위해서 위와 같이 구현했는데, 이건 다같이 의논해봐도 좋을 것 같아요!!

Copy link
Member

@gaeun5744 gaeun5744 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니당!!

Comment on lines +42 to +44
internal object DogItemDiffCallback : DiffUtil.ItemCallback<Dog>() {
override fun areItemsTheSame(
oldItem: Dog,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

혹시 internal companion object 대신 internal object를 쓰는 이유가 있을까요..? 다들 companion object를 많이 쓰던데 object로 두신 이유가 궁금해요!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

멀티모듈이 아닌 시점에서는 수정해야할 것 같습니다!!

@junjange junjange merged commit 52c4eab into develop Jul 17, 2024
2 checks passed
@junjange junjange deleted the feature/my_page branch July 17, 2024 11:48
takoyakimchi pushed a commit that referenced this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android android ✨ feat 기능 개발
Projects
None yet
Development

Successfully merging this pull request may close these issues.

마이페이지
4 participants