-
Notifications
You must be signed in to change notification settings - Fork 1
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/jaino/#140 #146
Feature/jaino/#140 #146
Conversation
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.
์งํธ์ ์ผ๋จ ํ์ผ ๋ฐ๋๊ฒ ๋ง์ด ์์ด์ lgtm์ด์์!!
๋ก์ง์ ์งํธ์์ด ์ ๊ตฌํํ๊ฒ ์ฃ ํํ
์ผ๋จ ์ ๊ฐ ๋ดค์ ๋ ๊ตณ์ด๊ธด ํฉ๋๋ค
|
||
if (duration.toMinutes() == 0L) { | ||
return "๋ฐฉ๊ธ" |
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.
๋ฐฉ๊ธ ์ฌ๋ฐ๋๋ฐ์ ์งํธ์ ใ ใ ใ ใ
if (duration.toMinutes() == 0L) { | ||
return "๋ฐฉ๊ธ" | ||
} else if (duration.toMinutes() < 60) { | ||
val leftMinutes = duration.toMinutes().toString() | ||
return leftMinutes + "๋ถ ์ ์์ฑ" | ||
} | ||
|
||
if (duration.toHours() < 24) { | ||
val leftHours = duration.toHours().toString() | ||
return leftHours + "์๊ฐ ์ ์์ฑ" | ||
} | ||
|
||
if (duration.toDays() < 31) { | ||
val leftDays = duration.toDays().toString() | ||
return leftDays + "์ผ ์ ์์ฑ" | ||
} |
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.
ํ๋ค๋ฉด companionObject ๋ด์์ ํด์ผํ๋๋ฐ
๋ฌธ๋งฅ์ ์ดํด๊ฐ ๋ผ์
์ ๋ ๊ทธ๋ฅ ๊ทธ๋๋ก ๋๋ฌ๋ ๋ฌด๋ฐฉํ ๊ฒ ๊ฐ์์ ใ
ใ
1. ๐ ๊ด๋ จ๋ ์ด์ ๋ฐ ์๊ฐ
#140 ์ค๋ฌธ ๊ด๋ฆฌ ํ์ด์ง UI ๊ฐ์ ๋ฐ Dummy Data ์๊ฑฐ
2. ๐ฅ ๋ณ๊ฒฝ๋ ์
3. โ ๊ผญ ํ์ธํด์คฌ์ผ๋ฉด ํ๋ ๋ถ๋ถ
ํผ๊ทธ๋ง์ ์ค๋ฌธ ์ ๋ ฌ ๋ฐ ๊ฒ์ ๊ธฐ๋ฅ์ด ํฌํจ๋ ๋์์ธ์ผ๋ก ๋ง๋ค์ด๋จ๋๋ฐ
ํผ๊ทธ๋ง ๋ด ์ฝ๋ฉํธ ํ์ธ ๋ถํ๋๋ฆฝ๋๋ค !
(ํ์ฌ ์ด์์ ๋ณ๊ฐ์ ๊ธฐ๋ฅ์ด๋ผ์ ๋ฐ๋ก ์ ๋ ฌ ๋ฒํผ์ ๊ตฌํํ์ง ์์์ต๋๋ค.)
4. ๐ธ ์คํฌ๋ฆฐ์ท(์ ํ)
์ด์ ์ค๋ฌธ ํ์ธ ๋์์ธ
๊ตฌํ ๋์์ธ
ํผ๊ทธ๋ง ๋์์ธ
5. ๐ก์๊ฒ๋ ํน์ ๊ถ๊ธํ ์ฌํญ๋ค
Compose Text ์์ฑ์ค OverFlow๋ฅผ ํ์ฉํ๋ฉด ๊ธ์๊ฐ ๋๊ฒผ์ ๋ ...์ผ๋ก ์ฒ๋ฆฌํ ์ ์๋ค.
Compose Text Overflow