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

[REFACTOR/#189] 투두 생성, 조회 뷰 통합 & 커스텀뷰 적용 #207

Merged
merged 20 commits into from
Feb 26, 2024

Conversation

Marchbreeze
Copy link
Member

⛳️ Work Description

  • 투두 생성뷰 our, my todo 통합
  • 투두 조회뷰 public, private 통합
  • core-ui 모듈 패키징 정리
  • 투두 생성, 조회뷰 createIntent 활용 (주고받는 intent가 많아서 캡슐화 적용)
  • 투두 생성뷰 동민이 customView 적용 & 자잘한 수정

📸 Screenshot

📢 To Reviewers

  • 커스텀뷰 개쩐다 ..

Copy link
Member

@chattymin chattymin 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 +100 to +101
rvOurTodoDetailPerson.visibility = View.INVISIBLE
layoutMyTodoCreatePerson.visibility = View.VISIBLE
Copy link
Member

Choose a reason for hiding this comment

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

저는 isVisible을 사용해서 true, false로 나타내는게 더 직관적으로 느껴지더라구요!

Copy link
Member Author

Choose a reason for hiding this comment

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

저도 그렇게 사용합니다만,
isVisible = false의 경우 뷰를 GONE으로 처리해버리기 때문에, invisible 처리를 위해 다음과 같이 작성했습니다 ~

import kotlinx.coroutines.flow.onEach

@AndroidEntryPoint
class TodoCreateActivity : BaseActivity<ActivityTodoCreateBinding>(R.layout.activity_todo_create) {
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

Choose a reason for hiding this comment

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

미쳐따,,,

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.

깰꼼한 리팩 넘무 조아요~!!!!!!

import kotlinx.coroutines.flow.onEach

@AndroidEntryPoint
class TodoCreateActivity : BaseActivity<ActivityTodoCreateBinding>(R.layout.activity_todo_create) {
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 +139 to +147
@JvmStatic
fun createIntent(
context: Context,
todoId: Long,
isPublic: Boolean,
): Intent = Intent(context, TodoDetailActivity::class.java).apply {
putExtra(EXTRA_TODO_ID, todoId)
putExtra(EXTRA_IS_PUBLIC, isPublic)
}
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 +38 to +50

initViewModel()
setTodoCreateType()
initDateClickBtnListener()
initFinishBtnListener()
initBackBtnListener()
getTripInfoId()
setTodoCreateType()
observeTodoCreateState()
setEtTodoNameArguments()
setEtTodoMemoArguments()
observeNameTextChanged()
observeMemoTextChanged()
Copy link
Contributor

Choose a reason for hiding this comment

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

마음의 안정이 찾아왔어요


class TodoNameAdapter(
class TodoAllocatorAdapter(
Copy link
Contributor

Choose a reason for hiding this comment

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

직관적이라 더 좋네욥 역시!👍👍

@Marchbreeze Marchbreeze merged commit 8500f5b into develop Feb 26, 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.

[REFACTOR] TodoCreate / 생성뷰 하나로 합치기 & 동민 커스텀뷰 적용
4 participants