-
Notifications
You must be signed in to change notification settings - Fork 200
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
♻️ [iOS & Android ContributorsScreen]Added loading indicator since it is missing. #948
♻️ [iOS & Android ContributorsScreen]Added loading indicator since it is missing. #948
Conversation
Detekt check failed. Please run |
Contributors Since it seems that Loading and Exists are not output to XCFrameWork when UiState is a sealed interface, I modified it like this.
sealed class ContributorsUiState { | ||
abstract val userMessageStateHolder: UserMessageStateHolder | ||
} | ||
|
||
class Loading( | ||
override val userMessageStateHolder: UserMessageStateHolder, | ||
) : ContributorsUiState() | ||
|
||
class Exists( | ||
override val userMessageStateHolder: UserMessageStateHolder, | ||
val contributors: PersistentList<Contributor>, | ||
val userMessageStateHolder: UserMessageStateHolder, | ||
) | ||
) : ContributorsUiState() |
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.
At first, UiState was configured with sealed interface, but since it is not included in XCFramework and cannot be referenced on the iOS side, it has been made into a sealed class and then into this form.
734b8b3#diff-dd1ff2a856844eaf95d9daf6c02a417e43b971fb53282a4d81e398b0a89ca639L52-L63
The indicator display on the iOS side cannot be confirmed because there is a problem where the contributor screen crashes when there is no network connection on the iOS side. 🙏 |
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.
For Android side, looks great
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.
Looks good about iOS side 👍🏼
Issue
Overview (Required)
Movie (Optional)
before.android.mp4
after.android.mp4