Pages 99
09/11/2014 The 3.2 release is out !
Using AndroidAnnotations
- Get started!
- Download
- Cookbook, full of recipes
- Customize annotation processing
- List of all available annotations
- Release Notes
- Examples
Questions?
- Read the FAQ
- Join the Mailing list
- Create an issue
- Tag on Stack Overflow
Enjoying AndroidAnnotations
Improving AndroidAnnotations
Clone this wiki locally
Clone in DesktopThanks a lot to all the contributors!
Releases are available as standalone jars or via Maven.
Latest stable release : 3.2 #
Released on November 9, 2014
Main changes
- #1100 Remove GreenDroid support
- #1099 Remove HoloEverywhere support
- #1058 Add
@Result
annotation for@OnActivityResult
- #1101 New
@Receiver
attribute:scheme
- #1130 Add
@WakeLock
annotation - #1092 Add
@ReceiverAction
annotation - #1181 Add
@Extra
annotation for@Receiver
- #1184 Add
dataSchemes
parameter for@ReceiverAction
Minor changes
- #1150 Improve JavaDoc on
@EditorAction
- #1151 Add missing system services for
@SystemService
- #1154 Update
@Receiver
JavaDoc - #1155 Update RoboGuice example for RoboGuice 2.0
- #1159
@AfterExtras
annotation also overrides theonNewIntent
method - #1214 Don't add the extra methods in
IntentBuilder
with@ServiceAction
Bug fixes
- #1124 Fix validation of
@SupposeXXX
- #1134 Re-add Otto annotation handlers
- #1075 Fix issues with generic
@EView
and@EViewGroup
- #1117 Fix generic issues in
@EFragment
- #1158 Fix classpath issues with RoboGuice
- #1171 Fix possible memory leaks with
@EFragment
andsetRetainsInstanceState(true)
(see details in the issue) - #1179 Fix compilation error on enhanced protected inner classes
Contributors
- Csaba Kozák @WonderCsabo
- Yoann Delouis @yDeoluis
- @dodgex
- Drozdov Artyom @Artyomcool
- Nikolay Belikov @nbelikov
- @simonz
3.1 #
Released on September 7, 2014
Main changes
- #289 The parameter
model
of the annotation@OrmLiteDao
is now unnecessary (it is deprecated) - #791 Add
@SupposeUiThread
and@SupposeBackground
- #494 Add
@EditorAction
to injectOnEditorActionListener
- #832 Inject a
RequestFactory
inRestTemplate
- #872 Add
setBearerAuth
method toRestClientHeaders
interface - #852 Add
@Receiver
to inject an anonymousBroadcastReceiver
in an enhanced component - #264 Add support for
Set<String>
to@SharedPref
- #975 Add
@ViewsById
to inject views in a list - #875 Add
@IgnoredWhenDetached
to prevent a method of fragment from being called if detached from activity - #928 Add
@AfterExtras
- #172 Integrate with RoboGuice 2.0
Minor changes
- #746 Allow any constructors for
@EBean
- #1081 Allow any constructors to abstract classes
- #831 Inject EBeans in Rest interceptors and converters
- #503 Automatically cast Strings in Shared preferences
- #826 Added
keyRes
parameter to@DefaultXXX
annotations - #782 Copy non AA annotations into generated class
- #992 Allow any order of parameters of method annotated with
@CheckedChange
,@Touch
and@FocusChange
- #990 Factorize builders
- #1002
RestErrorHandler
catchesNestedRuntimeException
- #1016 Expose fragment args in fragment builder
- #1028 Add
resName
param to@HttpsClient
to support library projects - #797 Add parameters and return value in trace
Bug fixes
- #552 FindViewById is called only once
- #248 Enable to enhance inner classes
- #892 Fix typo in output
- #894 Remove unnecessary field restErrorHandler
- #915 Fix error not handled with
@SetsCookies
- #778 Fix warning about java version
- #957 Fix tests with java 7
- #956 Add missing
@Override
in generated fragments - #991 Fix parameterized param in method annotated with
@ItemLongClick
- #993 Remove
Resolve log file
in logs if unwanted - #997 Fix
@ItemSelect
called on bad reference - #1030 Remove unused
Context
field inSharedPref
- #1033 Fix javadoc with java 8
- #1051 Add support for proxy in
@HttpsClient
- #1084 Remove warning (
dummyXXXXX
) in logs
Contributors
- Damien Villeneuve: @DayS
- Yoann Delouis: @yDelouis
- Csaba Kozák: @WonderCsabo
- Drozdov Artyom: @Artyomcool
- @dodgex
- @PerfectCarl
- Vincent Pizzo: @vincentjames501
- @Bananeweizen
- Ryan Yee: @Ryn830
- Matt Rein: @vwmattr
- Tom Reay: @tomreay
- Maarten Mulders: @mthmulders
- Jess Thrysoee: @JessThrysoee