Comments (1)
The best workaround for this currently is one of three options:
- Ensure the fully qualified name (package.method name) is unique for each preview function. This would mean moving one function to a different package.
- Renaming one function, resulting in unique FQNs for both methods.
- Modifying the
@Preview
annotation to have different parameters, as Emerge keys off a combination of FQN and preview parameters.
We're looking into use the file as an additional key in the future to solve this, but there's currently no ETA on that change.
from emerge-android.
Related Issues (9)
- Configuration Cache Build issues when getting git information. HOT 4
- Issues resolving performance project when name comes after app project alphabetically HOT 1
- Configuration cache state could not be cached HOT 2
- emerge.outputDir breaks cacheability for com.google.devtools.ksp.gradle.KspTaskJvm HOT 2
- [Snapshots] Error when snapshotting preview with Dialog
- Preview annotation `device` parameter not supported HOT 1
- [Snapshots] Some custom device specs not rendering expected dimensions HOT 2
- [Snapshots] Unable to capture snapshot on second layout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emerge-android.