-
Notifications
You must be signed in to change notification settings - Fork 0
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
๐ :: ๋ฉ์ธ ํ์ด์ง refresh ๊ธฐ๋ฅ ์ถ๊ฐ #214
Conversation
@@ -23,6 +24,8 @@ protocol MainActionProtocol: AnyObject { | |||
func updateIsPresentedLogoutDialog(isPresented: Bool) | |||
func updateIsPresentedWithdrawalDialog(isPresented: Bool) | |||
func appendContent(content: [SingleStudentEntity]) | |||
func updateContent(content: [SingleStudentEntity]) | |||
func updateRefresh(isRefresh: Bool) |
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.
updateIsRefresh๋ก ํ๋๊ฒ ์ข์๊ฑฐ๊ฐ์์
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.
๋ต ์์ ํ์ต๋๋ค
@@ -64,10 +64,14 @@ struct MainView: View { | |||
|
|||
Color.clear | |||
.onAppear { | |||
guard !state.isRefresh else { 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.
์ด ์ด๊ฑฐ ์ฑ๊ณตํ๊ฑด๊ฐ์
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.
๋ค ์ ๊ฑฐ ์ ํ๋ฉด reachedBottom์ด๋ ๋์์ ์คํ๋ฉ๋๋ค
๐ก ๊ฐ์
๋ฉ์ธ ํ์ด์ง refresh ๊ธฐ๋ฅ ์ถ๊ฐ
๐ ์์ ๋ด์ฉ
๋ฉ์ธ ํ์ด์ง refresh ๊ธฐ๋ฅ ์ถ๊ฐ
์ง๋ฌธ
์ด๊ฑฐ ํตํฉ ์ด๋ป๊ฒ ์ํค๋์ง ์์๋์?