-
-
Notifications
You must be signed in to change notification settings - Fork 213
AboutActivity to Jetpack Compose #2489
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
base: main
Are you sure you want to change the base?
Conversation
true | ||
setContent { | ||
MaterialTheme { | ||
Scaffold( |
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.
I would extract the logic for the actual screen content in a separate function. That would make it easier to preview the UI and test it with fake data. Example, Documentation
) | ||
} | ||
} | ||
} No newline at end of file |
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.
Missing new line? Maybe also a Preview
?
80a7ef9
to
d3f7549
Compare
437a681
to
e79efe2
Compare
e79efe2
to
d14f5c8
Compare
Main blocker here is that I haven't found the time to deal with fixing the tests yet (quite a different way of testing) and I'm hesitant to just remove the tests (though maybe I should to at least progress somewhat). I think the general code is probably pretty OK by now, just needs the custom colour support removed for consistency between XML and Compose. |
Thanks for the update! I took a look and went ahead with some optimizations in AboutActivity. I’ve also fixed a few of the existing tests and added some new ones to improve coverage. Hopefully, this helps unblock some of the progress you mentioned. Let me know if you’d like me to push these changes for review or if you’d prefer I open a separate PR. |
Uh oh!
There was an error while loading. Please reload this page.