Comments (3)
@henson must be used only for activities without any @InjectExtra
annotation. In that case, the DSL will only let you start the activity
without providing any parameter.
If you have fields using @InjectExtra, then you should not use @henson and
the DSL will let you set the value of the required and optional fields.
S.
2015-09-04 9:23 GMT-04:00 Yuri Hernani Heupa [email protected]:
I can't find out how to use henson, the readme is quite shallow, i got a
activity annotated with Henson annotation, but the generated navigator
don't have any extras options, and if i use InjectExtra on any field of the
activity i got the following exception:
Error:(30, 8) error: @henson https://github.com/Henson class
MainActivty must not contain any @InjectExtra annotationHow can i correctly use henson with extras?
—
Reply to this email directly or view it on GitHub
#69.
from dart.
@stephanenicolas @f2prateek Does android studio automatically compile source code in the background? Because the only way i can get Henson to generate the $$IntentBuilder class is to explicitly run compile.
from dart.
@YuriHeupa Henson
generates code (both to navigate to the activity and to add extras) by looking for @InjectExtra
. If an activity doesn't have @InjectExtra
then we need to help Henson
by annotating the class with @Henson
. Check out this issue for more info.
from dart.
Related Issues (20)
- Logo/Icon Proposal HOT 12
- Dart 2.0 can't find ExtraInjector with Proguard minify enabled
- Why is MyActivity1NavigationModel extends Activity? HOT 2
- Multi module using DH3, M2 to M1 cycle navigation HOT 15
- Create kotlin sample
- Check NavigationModel FQN at compile time
- Update integration tests to consider the new NavigationModel
- Whether it can support Kotlin 1.2.x ?
- [DH3] java.lang.RuntimeException: java.lang.ClassNotFoundException HOT 2
- [DH]Not generated “IntentBuilder” HOT 2
- Remove verbose log
- Add Androidx support HOT 7
- Introduce reflection artifact for use during development
- Support Incremental annotation processing HOT 1
- Use gradle 4.9 and AGP 3.3 task configuration avoidance HOT 1
- Android module with DH-3 enabled recompile `AndroidJavaCompile` when no changes occurred. HOT 4
- Can't use DH3 in Android Dynamic Feature Module HOT 5
- DH2.1 to DH3 migration questions HOT 4
- Build Failed with Gradle 6.6 HOT 10
- The plugin does not support Configuration Caching HOT 27
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 dart.