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

[둘리] 뷰 챌린지 미션 1단계 제출합니다. #14

Merged
merged 24 commits into from
Oct 1, 2023
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ed6898e
feat: 레이아웃 그리기
hyemdooly Sep 29, 2023
0e4dbd0
feat: 선을 그릴 수 있는 기능 추가
hyemdooly Sep 29, 2023
4b31375
feat: button listener 설정
hyemdooly Sep 29, 2023
970025b
feat: UI State 추가
hyemdooly Sep 29, 2023
56ddb01
feat: RecyclerView 어댑터 연결
hyemdooly Sep 29, 2023
14a1889
feat: PaintView 연결
hyemdooly Sep 29, 2023
cacf0fd
feat: Point 생성
hyemdooly Sep 29, 2023
2a97a99
refactor: 네이밍 수정 및 함수 리팩터링
hyemdooly Sep 29, 2023
37d0ad4
feat: Line 클래스 생성
hyemdooly Sep 29, 2023
7a8823e
refactor: 아이템 높이, 너비 변경
hyemdooly Sep 29, 2023
9b6da38
refactor: 패키지 이동
hyemdooly Sep 29, 2023
71214e0
feat: 각각 다른 paint에 대한 line 그리기 지원
hyemdooly Sep 29, 2023
100f930
feat: colors 뷰 margin 적용
hyemdooly Sep 29, 2023
93ab0a8
refactor: 필요없는 플러그인 삭제, 네이밍 변경
hyemdooly Oct 1, 2023
68e1f78
refactor: DataBindingUtil 대신 다른 코드로 변경
hyemdooly Oct 1, 2023
cc8c325
refactor: 변수 네이밍 변경
hyemdooly Oct 1, 2023
8783cab
refactor: 구성 변경 대응 및 CanvasView에서 CustomColor를 사용하도록 수정
hyemdooly Oct 1, 2023
ed6ecda
refactor: 코드 줄임
hyemdooly Oct 1, 2023
6852594
refactor: CustomColor 네이밍 수정
hyemdooly Oct 1, 2023
89deedc
refactor: 함수 네이밍 수정
hyemdooly Oct 1, 2023
2c91a84
refactor: 설정이 바뀌었을 때만 line을 추가하도록 수정
hyemdooly Oct 1, 2023
894e464
refactor: 네이밍 수정
hyemdooly Oct 1, 2023
e0fc87e
refactor: ktlint 재적용
hyemdooly Oct 1, 2023
345cc70
refactor: default 값 이동
hyemdooly Oct 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: DataBindingUtil 대신 다른 코드로 변경
  • Loading branch information
hyemdooly committed Oct 1, 2023
commit 68e1f781ee042ae88107a9234dac4eee6996fb1d
3 changes: 2 additions & 1 deletion app/src/main/java/woowacourse/paint/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ class MainActivity : AppCompatActivity() {
}

private fun setupBinding() {
binding = DataBindingUtil.setContentView(this, R.layout.activity_main)
binding = ActivityMainBinding.inflate(layoutInflater)
binding.lifecycleOwner = this
setContentView(binding.root)
}

private fun setupViewModel() {
Expand Down