Using Java Annotations and Reflection, this library will allow you to replace some of annoying boilerplate setup from your Activities, Fragments, and Views with an annotation based approach. It supports Inheritance of Activities. You can inherit views from parent Activities, and every view will be picked up and wired in. As it uses reflection, it will work with private variables.

It also comes with several out of the box ways of specifying IDs allowing for flexibility in naming IDs and implementing the annotations and provides an optional required field in the annotation, so if an ID is not found, the variable will be skipped without an Exception being thrown. It can be adapted to work with CustomViews.

Facebook Twitter Google Reddit LinkedIn

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *