Skip to content

Use UI state in profile edit screen#508

Open
Masaki-U wants to merge 10 commits intoDroidKaigi:mainfrom
Masaki-U:feature/use_ui_state_in_profile_edit_screen
Open

Use UI state in profile edit screen#508
Masaki-U wants to merge 10 commits intoDroidKaigi:mainfrom
Masaki-U:feature/use_ui_state_in_profile_edit_screen

Conversation

@Masaki-U
Copy link
Copy Markdown

@Masaki-U Masaki-U commented Aug 16, 2024

Issue

Overview (Required)

  • Create a data class to effectively diff compare stored image data.
  • Use Presenter data and events in profile editing screen.
  • Fix typo warning.
  • Encapsulate edit screen validation logic in UiState class.

@takahirom
Copy link
Copy Markdown
Member

Thank you for your pull request. Could you please resolve the conflict?

@Masaki-U
Copy link
Copy Markdown
Author

@takahirom
OK, resolve the conflict & refactoring complete!

@github-actions
Copy link
Copy Markdown

Detekt check failed. Please run ./gradlew detekt --auto-correct to fix the issues.

@github-actions github-actions bot temporarily deployed to deploygate-distribution August 16, 2024 03:18 Inactive
@github-actions github-actions bot temporarily deployed to deploygate-distribution August 16, 2024 03:38 Inactive
@github-actions github-actions bot temporarily deployed to deploygate-distribution August 16, 2024 03:44 Inactive
@DroidKaigi DroidKaigi deleted a comment from github-actions bot Aug 16, 2024
@takahirom
Copy link
Copy Markdown
Member

I apologize. I created a similar issue, and there are conflicts in this PR. I believe we can still use your code, such as ImageData. Could you please resolve the conflict?

""
}

val occupationError @Composable get() = if (occupation.isEmpty()) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The same basic code format is repeated here three times... it might be worth to make a generic version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use presenter in EditScreen in ProfileCard

3 participants