Repository navigation
Releases
Releases · yatatsu/AutoBundle
5.0.2
4.1.1
4.1.0
- library module support (#27)
For this feature, following methods in AutoBundleBindingDispatcher turn to return boolean as binding result.
AutoBundleBindingDispatcher#bind(Object, Bundle)AutoBundleBindingDispatcher#bind(Object)AutoBundleBindingDispatcher#pack(Object, Bundle)
4.0.0
See detail in each PR or issue.
- Support
android.support.annotations. #23- e.g.
@IntDef,@StringDef.
- e.g.
- Support
@Nullableand@NonNullannotations. #25- Add annotations for generated codes.
- New dependency with
com.android.support:support-annotationslibrary.
- Any class support. d0567e5
- even not subtype of
Activity,Service,ReceiverorFragment - use
XXXAutoBundle.Builder#bundle()that returnsBundle.
- even not subtype of
- Remove intent-binding method from dispatcher. 73f7d0c
- Use primitive type if field type is boxed. 4268798
- e.g.
Integertreated asint.
- e.g.
- Rename builder class name. a88aaa5
| changes | Before | After |
|---|---|---|
| builder class | IntentBuilder or FragmentBuilder |
Builder |
| method for builder | createIntentBuilder() or createFragmentBuilder() |
builder() |
3.1.1
3.1.0
3.0.0
2.0.0
This is a major update. There are some breaking changes.
- Support setter/getter. You can specify method with
@AutoBundleGetter/@AutoBundleSetter. 0c7081f - Remove
AutoBundleclass for avoiding reflection. Use{YourTargetClass}AutoBundleinstead. 5ae9cf3
To follow these changes, please check README and example.