Skip to content

LocalInspectionMode for Paparazzi #1824

@geoff-powell

Description

@geoff-powell

Currently, AS @Previews use LocalInspectionMode composition local to return true to ensure any logic that can be skipped.

Many have requested this to be set by default for Paparazzi. I would instead add functionality by creating a new composition local PaparazziInspectionMode and set it to true during snapshots.

This gives consumers a way to do the same or similar logic with LocalInspectionMode to opt out of unsupported functionality in layoutlib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions