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

Feature/week6 essential #17

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from
Open

Conversation

stellar-halo
Copy link
Contributor

๐Ÿ“Œ๐˜๐˜ด๐˜ด๐˜ถ๐˜ฆ๐˜ด

๐Ÿ“Ž๐˜ž๐˜ฐ๐˜ณ๐˜ฌ ๐˜‹๐˜ฆ๐˜ด๐˜ค๐˜ณ๐˜ช๐˜ฑ๐˜ต๐˜ช๐˜ฐ๐˜ฏ

  • ์‚ผํ•ญ ์—ฐ์‚ฐ์ž์™€ livedata๋ฅผ ์ด์šฉํ•ด ์‹ค์‹œ๊ฐ„ ์ƒํƒœ ๋ฐ˜์˜
  • ๋น„๋ฐ€๋ฒˆํ˜ธ, ID ์กฐ๊ฑด์„ ๋งŒ์กฑํ•˜์ง€ ์•Š๊ฑฐ๋‚˜ ๋‹‰๋„ค์ž„, mbti ํ•„๋“œ๋ฅผ ์ฑ„์šฐ์ง€ ์•Š์œผ๋ฉด ๋ฒ„ํŠผ ํด๋ฆญ ๋ถˆ๊ฐ€(์ƒ‰์ƒ ๋ณ€๊ฒฝ)

๐Ÿ“ท๐˜š๐˜ค๐˜ณ๐˜ฆ๐˜ฆ๐˜ฏ๐˜ด๐˜ฉ๐˜ฐ๐˜ต

-.Clipchamp.mp4

๐Ÿ’ฌ๐˜›๐˜ฐ ๐˜™๐˜ฆ๐˜ท๐˜ช๐˜ฆ๐˜ธ๐˜ฆ๐˜ณ๐˜ด

  • ์ œ ํ•จ์ˆ˜๋ช…์— ์ž”๋œฉ ์งœ์ฆ๋‚˜๊ณ ,, ์ œ ๋”๋Ÿฌ์šด ์ฝ”๋“œ์— 2๋ฐฐ ๋” ์งœ์ฆ๋‚˜๋„ค์š”. ๋‹ค๋“ค ์‹œํ—˜ ๊ธฐ๊ฐ„ ํ™”์ดํŒ…

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 +23 to +26
private val _isPasswordMeetCriteria: MutableLiveData<Boolean> = MutableLiveData()
val isPasswordMeetCriteria: LiveData<Boolean> = _isPasswordMeetCriteria
private val _isMeetCriteria: MutableLiveData<Boolean> = MutableLiveData(false)
val isMeetCriteria: LiveData<Boolean> = _isMeetCriteria
Copy link
Member

Choose a reason for hiding this comment

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

ํ•˜๋‚˜๋Š” ์ดˆ๊ธฐ๊ฐ’์„ ์„ค์ •ํ•˜๊ณ  ํ•˜๋‚˜๋Š” ์•ˆํ–ˆ๋Š”๋ฐ ์–ด๋–ค ๊ธฐ์ค€์œผ๋กœ ์„ ํƒํ•˜์‹œ๋Š” ๊ฑด๊ฐ€์š”??
์ €๋Š” ์ „๋ถ€๋‹ค ์ดˆ๊ธฐ๊ฐ’ ์—†์ด ์‚ฌ์šฉํ•˜๋Š” ํŽธ์ธ๋ฐ ์–ด๋Š๊ฒŒ ๋” ์ข‹์€์ง€ ๊ถ๊ธˆํ•ฉ๋‹ˆ๋‹ค!

Choose a reason for hiding this comment

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

์ €๋„ ์ด๋ถ€๋ถ„ ๊ถ๊ธˆํ•ฉ๋‹ˆ๋‹ค!!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

์ดˆ๊ธฐ๊ฐ’์„ ์„ค์ •ํ•˜๊ฒŒ ๋˜๋ฉด ํ™”๋ฉด์— ๋“ค์–ด๊ฐ„ ์ˆœ๊ฐ„๋ถ€ํ„ฐ ๊ฒฝ๊ณ ๋ฌธ์ด ๋œจ๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค!
์•„๋ฌด๊ฒƒ๋„ ์•„๋‹Œ ์ƒํƒœ, ์‹คํŒจํ•œ ์ƒํƒœ, ์„ฑ๊ณตํ•œ ์ƒํƒœ ์„ธ ๊ฐ€์ง€๊ฐ€ ํ•„์š”ํ–ˆ๊ธฐ ๋•Œ๋ฌธ์— ์ดˆ๊ธฐ๊ฐ’ ์„ค์ •์„ ํ•ด์ฃผ์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.
๊ทธ๋•Œ ๊ทธ๋•Œ ์ƒํ™ฉ์— ๋”ฐ๋ผ ๋‹ค๋ฅด๊ฒŒ ์„ค์ •ํ•˜๋Š” ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค :)

Comment on lines +136 to +137
android:backgroundTint="@{vm.isMeetCriteria == true ? @color/baby_blue : @color/gray}"
android:clickable="@{vm.isMeetCriteria == true ? true : false}"
Copy link
Member

Choose a reason for hiding this comment

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

backgroundTint์—์„œ 3ํ•ญ ์—ฐ์‚ฐ์ž ํ™œ์šฉ ๋ฉ‹์ง€๋„ค์š”!!
๊ทผ๋ฐ clickable์€ 3ํ•ญ์—ฐ์‚ฐ์ž๊ฐ€ ์•„๋‹ˆ๋ผ ๋ฐ”๋กœ vm.isMeetCriteria ์จ๋„ ๋ ๊ฒƒ ๊ฐ™๊ธฐ๋„ ํ•ฉ๋‹ˆ๋‹ค ใ…Žใ…Ž

Copy link

Choose a reason for hiding this comment

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

ํด๋ฆญ์€ ๊ทธ๋ƒฅ vm.isMeetCriteria ๋ฅผ ์•ˆ์“ฐ๊ณ  ์ €๋ ‡๊ฒŒ ํ•˜์‹ ์ด์œ ๊ฐ€ ์žˆ๋‚˜์šฅ>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

์—†์Šต๋‹ˆ๋‹ค ใ…Ž.. ๋ฐ”๊ฟ€๊ฒŒ์š”๐Ÿ‘๐Ÿป

@jihyun0v0
Copy link

๊ตฐ๋”๋”๊ธฐ ์—†์ด ๊น”๋”ํ•œ ๊ฐ•ํฌ์–ธ๋‹ˆ ์ฝ”๋“œ ๋ณธ๋ฐ›๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค!!

Copy link

@lsakee lsakee left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -64,13 +64,26 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:backgroundTint="@{vm.isPasswordMeetCriteria != null &amp;&amp; vm.isPasswordMeetCriteria == false ? @color/red : @color/black}"
Copy link

Choose a reason for hiding this comment

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

๋ฐ๋ฐ”๋งˆ์Šคํ„ฐ์ด์‹ ๊ฐ€

Copy link

Choose a reason for hiding this comment

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

์ด๋ฐฉ๋ฒ•์ด ์ฐธ ์ข‹์€๋ฐ ๊ฐ€๋…์„ฑ์„ ๋–จ๊ตฌ๋Š” ๋ถ€๋ฌธ์ธ๊ฑฐ ๊ฐ™์•„์š” ใ…  ์ €๋„ ์ด๋ฒˆ ๊ณผ์ œ๋Š” ๋ฐ๋ฐ”๋ฅผ ํ™œ์šฉํ•ด์•ผ ํ•ด์„œ ์‚ฌ์šฉํ•˜์˜€๋Š”๋ฐ ํ‰์†Œ์—๋„ ์• ์šฉํ•˜์‹œ๋‚˜์š”?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

์ด๋Ÿฐ ์‹์œผ๋กœ ๊ฐ’ ๋ณ€๊ฒฝ์— ์ฆ‰๊ฐ์ฆ‰๊ฐ ๋ฐ”๋€Œ๋Š” ๋ถ€๋ถ„์—” ์• ์šฉํ•˜๋Š” ๊ฒƒ ๊ฐ™์•„์š”

Comment on lines +136 to +137
android:backgroundTint="@{vm.isMeetCriteria == true ? @color/baby_blue : @color/gray}"
android:clickable="@{vm.isMeetCriteria == true ? true : false}"
Copy link

Choose a reason for hiding this comment

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

ํด๋ฆญ์€ ๊ทธ๋ƒฅ vm.isMeetCriteria ๋ฅผ ์•ˆ์“ฐ๊ณ  ์ €๋ ‡๊ฒŒ ํ•˜์‹ ์ด์œ ๊ฐ€ ์žˆ๋‚˜์šฅ>

Copy link

@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 +83 to +84
android:visibility="@{vm.isPasswordMeetCriteria != null &amp;&amp; vm.isPasswordMeetCriteria == false ? View.VISIBLE : View.INVISIBLE}"
app:layout_constraintStart_toStartOf="@id/tv_sign_up_id"

Choose a reason for hiding this comment

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

์ด๋ ‡๊ฒŒ ๊ฐ€์‹œ์„ฑ ์„ค์ •ํ•  ์ˆ˜ ์žˆ๊ตฐ์š”/,... ์˜ค๋Š˜๋„ ๋ฐฐ์›Œ๊ฐ‘๋‹ˆ๋‹ค ์ตœ๊ณ  ๐Ÿ‘๐Ÿ‘

Comment on lines +23 to +26
private val _isPasswordMeetCriteria: MutableLiveData<Boolean> = MutableLiveData()
val isPasswordMeetCriteria: LiveData<Boolean> = _isPasswordMeetCriteria
private val _isMeetCriteria: MutableLiveData<Boolean> = MutableLiveData(false)
val isMeetCriteria: LiveData<Boolean> = _isMeetCriteria

Choose a reason for hiding this comment

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

์ €๋„ ์ด๋ถ€๋ถ„ ๊ถ๊ธˆํ•ฉ๋‹ˆ๋‹ค!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6์ฃผ์ฐจ ํ•„์ˆ˜๊ณผ์ œ
5 participants