paparazzi
paparazzi copied to clipboard
Allow for custom appCompatViewInflater #274
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
@jrodbx are you ok with the approach? should I put documentation somewhere?