2 dépôts
Mapping of UI events to methods without implementing anonymous listener classes.
Distinct from Android View Binding: Focuses on eliminating anonymous classes via declarative mapping rather than just linking layout IDs to fields.
Explore 2 awesome GitHub repositories matching mobile development · Declarative Event Listeners. Refine with filters or upvote what's useful.
AndroidAnnotations is a suite of tools designed to automate the generation of repetitive boilerplate and setup code for mobile application development. It functions as a code generation tool that reduces manual effort by creating the plumbing required to initialize Android components and views. The project provides specialized frameworks for dependency injection, concurrency management, and view binding. It automates the assignment of system services, resources, and UI elements to fields and maps user interface events directly to methods to eliminate the need for anonymous listener classes.
Connects user interface events to specific methods to remove the need for anonymous listener classes.
u2020 is an example Android application that demonstrates how to wire together application components using compile-time dependency injection, annotation-driven view binding, and a slide-out debug drawer. The project serves as a real-world showcase for integrating Dagger for dependency injection and Butter Knife for view binding, both of which generate code at compile time rather than relying on runtime reflection. The application features an in-memory mock server that simulates backend responses using static data, enabling development and testing without a live network. A debug drawer overla
Binds click, item selection, and other event listeners to annotated methods with compile-time code generation.