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

[UI/#223] trip profile 구현 #225

Merged
merged 13 commits into from
Mar 4, 2024
Merged

[UI/#223] trip profile 구현 #225

merged 13 commits into from
Mar 4, 2024

Conversation

chattymin
Copy link
Member

@chattymin chattymin commented Mar 3, 2024

⛳️ Work Description

  • viewPager2 연결
  • CoordinatorLayout 연결
  • fragment 두개 생성 및 연결

📸 Screenshot

test.mp4

📢 To Reviewers

  • 화면이 비어있는건 서버 연결 안하고, 내부 text나 src 전부 tools로 해둬서 안나오는겁니다 ㅋㅋ 기존 마이페이지랑 같아요!
  • 빨리 올려줘야 유빈이가 작업가능해서 최적화 안하고 일단 올렸습니다! 공통 컴포넌트 만드는건 나중에 할게용!
  • 나중에 서버 나오면 api 연결 작업 하도록 하겠습니다 :)
  • api에서 isOwner 처리 가능해지면 타이틀 바꾸고, 내부 버튼 gone 처리하고 등등... 하겠습니당

아 Empty VIew 안넣었다... 나중에 넣을게요 ㅎㅎㅎㅎㅎ

@chattymin chattymin added this to the 2차 스프린트 milestone Mar 3, 2024
@chattymin chattymin self-assigned this Mar 3, 2024
Copy link
Member

@leeeyubin leeeyubin left a comment

Choose a reason for hiding this comment

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

빠른 PR 덕분에 후다닥 작업할 수 있게 됐어요!!! 감사합니다~!!

Comment on lines +8 to +9
class TripProfileTagFragment :
BaseFragment<FragmentTripProfileTagBinding>(R.layout.fragment_trip_profile_tag) {
Copy link
Member

Choose a reason for hiding this comment

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

여기에 제가 이어서 작업하면 되겠군요!

Comment on lines +165 to +174
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/trip_profile_character" />

<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/trip_profile_tag" />
</com.google.android.material.tabs.TabLayout>
Copy link
Member

Choose a reason for hiding this comment

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

오,, 이렇게 TabItem을 둬서 text를 넣을 수 있군요,,?
저는 따로 textList를 만들어서 연결해줬던 것 같은데 찾아보니 두 방식 다 가능한 것 같네요!

Copy link
Member

Choose a reason for hiding this comment

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

넹면 둘다 가능한데, 동적 선언이랑 정적 선언이랑 각자 이점이 있으니 더 살펴보고 작성하면 더 좋아요 ~~

Copy link
Member Author

Choose a reason for hiding this comment

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

저는 해당 기능이 동적으로 하지 않아도 된다고 생각해서 정적으로 작성했습니다!

제가 올린 예시처럼 서버통신을 통해 동적으로 해야한다면 동적 선언이 더 이점이 있지만, 그게 아니라 저희 상황처럼 정적으로 되어있는 경우는 정적 선언이 더욱 좋다고 생각했습니다 :)

kakao

Copy link
Member

Choose a reason for hiding this comment

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

오오 그렇군요!!! 설명 감사합니다~!!!

Copy link
Contributor

@crownjoe crownjoe 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 +58 to +59
binding.tvProfileName.text.toString(),
binding.tvProfileOneLine.text.toString()
Copy link
Contributor

Choose a reason for hiding this comment

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

binding.~~ 이렇게 바로 인텐트로 보내니까 더 좋은 것 같아요!!

Copy link
Member

@Marchbreeze Marchbreeze 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 +165 to +174
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/trip_profile_character" />

<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/trip_profile_tag" />
</com.google.android.material.tabs.TabLayout>
Copy link
Member

Choose a reason for hiding this comment

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

넹면 둘다 가능한데, 동적 선언이랑 정적 선언이랑 각자 이점이 있으니 더 살펴보고 작성하면 더 좋아요 ~~

@chattymin chattymin merged commit b68de68 into develop Mar 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI] 여행 친구들 프로필 뷰 / ui 구현
4 participants