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

Allow for custom appCompatViewInflater #274 #480

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sebastienrouif
Copy link

and thus support for MaterialComponents or other custom UI library

It would be great to resolve the viewInfalter from the theme but we don't have a context before constructing Paparazzi. We could resolve it in the test function but it would add a lot of boilerplate. And we can't resolve it from within Parazzi as we need to obtain theme attribute as done in AppCompatDelegateImpl

we could maybe remove the appCompatEnabled and have a sealed class for the appCompatViewInflaterClassName but I didn't want to change the Paparazzi API

@Test
@Ignore
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you wanna remove the @Ignore here rather than the @Test

@sebastienrouif
Copy link
Author

@jrodbx are you ok with the approach? should I put documentation somewhere?

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.

2 participants