Skip to content
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

ANDROAPP-5592-mobile-ui-Create-List-Card-component #80

Merged
merged 14 commits into from
Oct 5, 2023

Conversation

xavimolloy
Copy link
Contributor

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think that the image can be stored in the common module instead of designsystem to not package it with the library


@OptIn(ExperimentalResourceApi::class)
@Composable
fun provideImage(resourceName: String): Painter =
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thin that this method can be set in the common module the library is not intended to store jpgs, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is just for the purpose of adding a painter to the Image and as a sample, it is in the same place as the providedhis2Icon method so I think it's ok, it's not intended to store jpgs and the user won't use it, as if they pass the painter with their own resource it'll work on both platforms

@andresmr
Copy link
Collaborator

andresmr commented Oct 3, 2023

You have done a great job. Congratulations! 🥳

@xavimolloy xavimolloy force-pushed the ANDROAPP-5592-mobile-ui-Create-List-Card-component branch from e533733 to 6206277 Compare October 4, 2023 05:46
@xavimolloy xavimolloy requested a review from andresmr October 4, 2023 14:24
@xavimolloy xavimolloy force-pushed the ANDROAPP-5592-mobile-ui-Create-List-Card-component branch from 1d2de79 to 6a9f8ed Compare October 4, 2023 14:24
@xavimolloy xavimolloy force-pushed the ANDROAPP-5592-mobile-ui-Create-List-Card-component branch from 6a9f8ed to b3bb529 Compare October 4, 2023 16:09
@xavimolloy xavimolloy force-pushed the ANDROAPP-5592-mobile-ui-Create-List-Card-component branch from ae63c91 to 5aea3d4 Compare October 5, 2023 09:05
@xavimolloy xavimolloy merged commit 89b4950 into main Oct 5, 2023
2 checks passed
@xavimolloy xavimolloy deleted the ANDROAPP-5592-mobile-ui-Create-List-Card-component branch October 5, 2023 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants