-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
…into refactor/#189-todo-create
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.
폼 미쳤다~~
코드 꺨꼼쓰!
rvOurTodoDetailPerson.visibility = View.INVISIBLE | ||
layoutMyTodoCreatePerson.visibility = View.VISIBLE |
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.
저는 isVisible을 사용해서 true, false로 나타내는게 더 직관적으로 느껴지더라구요!
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.
저도 그렇게 사용합니다만,
isVisible = false의 경우 뷰를 GONE으로 처리해버리기 때문에, invisible 처리를 위해 다음과 같이 작성했습니다 ~
import kotlinx.coroutines.flow.onEach | ||
|
||
@AndroidEntryPoint | ||
class TodoCreateActivity : BaseActivity<ActivityTodoCreateBinding>(R.layout.activity_todo_create) { |
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.
미쳐따,,,
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.
깰꼼한 리팩 넘무 조아요~!!!!!!
import kotlinx.coroutines.flow.onEach | ||
|
||
@AndroidEntryPoint | ||
class TodoCreateActivity : BaseActivity<ActivityTodoCreateBinding>(R.layout.activity_todo_create) { |
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.
미쳐따,,,
@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) | ||
} |
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.
역시 갓상호!!! 수고하셨습니다!!! 👍👍👍👍👍👍
|
||
initViewModel() | ||
setTodoCreateType() | ||
initDateClickBtnListener() | ||
initFinishBtnListener() | ||
initBackBtnListener() | ||
getTripInfoId() | ||
setTodoCreateType() | ||
observeTodoCreateState() | ||
setEtTodoNameArguments() | ||
setEtTodoMemoArguments() | ||
observeNameTextChanged() | ||
observeMemoTextChanged() |
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.
마음의 안정이 찾아왔어요
|
||
class TodoNameAdapter( | ||
class TodoAllocatorAdapter( |
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.
직관적이라 더 좋네욥 역시!👍👍
⛳️ Work Description
📸 Screenshot
📢 To Reviewers