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

Update compose invoker to better replicate PreviewActivity behavior #296

Conversation

rbro112
Copy link
Contributor

@rbro112 rbro112 commented Oct 25, 2024

Our custom implementation of reflective invoking was hitting some snags around typing/param resolution. After looking into how stock Android compose tooling does it, I figured it would be best for us to replicate their's as close as possible:

This brings us up to almost a 1:1 invoking pattern as them, while taking into account some of our first-class compose args/helpers. This has resulted in a nearly 100% success rate with existing client apps I've tested against.

Copy link
Contributor Author

rbro112 commented Oct 25, 2024

@rbro112 rbro112 force-pushed the ryan/prepare_for_snapshots_release_1.3.0-beta02 branch from 9525ee1 to c576c30 Compare October 25, 2024 03:55
@rbro112 rbro112 force-pushed the ryan/update_compose_invoker_to_better_replicate_previewactivity_behavior branch from e4eac88 to 2fd84fe Compare October 25, 2024 03:55
@rbro112 rbro112 force-pushed the ryan/update_compose_invoker_to_better_replicate_previewactivity_behavior branch 2 times, most recently from 068c9de to 2b01646 Compare October 25, 2024 04:51
Base automatically changed from ryan/prepare_for_snapshots_release_1.3.0-beta02 to main October 25, 2024 05:00
@rbro112 rbro112 force-pushed the ryan/update_compose_invoker_to_better_replicate_previewactivity_behavior branch from 2b01646 to 358334e Compare October 25, 2024 05:00
Copy link

emerge-tools bot commented Oct 25, 2024

📸 Snapshot Test

142 unchanged

Name Version Added Removed Modified Unchanged Errored Approval
Emerge snapshots sample
com.emergetools.snapshots.sample.debug
1.0 (1) 0 0 0 142 1 N/A

🛸 Powered by Emerge Tools

@rbro112 rbro112 force-pushed the ryan/update_compose_invoker_to_better_replicate_previewactivity_behavior branch from a09314f to 8babfe8 Compare October 25, 2024 17:39
@rbro112 rbro112 merged commit 035f69d into main Oct 31, 2024
6 checks passed
@rbro112 rbro112 deleted the ryan/update_compose_invoker_to_better_replicate_previewactivity_behavior branch October 31, 2024 14:06
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