Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

@Receiver support for @EView/@EViewGroup #1656

Description

@KenVanHoeylandt

It would be nice to have broadcast receiver support for Views.

I currently register/unregister them manually during onAttachedToWindow()/onDetachedFromWindow(), but it would be nice if the @Receiver annotation would work and do this for me.

This could be practical in a setup where the service/data layer can broadcast updates and views can listen to those events to update themselves.

Activity

  1. WonderCsabo commented on Dec 17, 2015

    @WonderCsabo
    Member

    Yeah, this could be done. Contributions are always welcome. :)

  2. KenVanHoeylandt commented on Dec 17, 2015

    @KenVanHoeylandt
    Author

    I'll consider adding it myself once I'm done with Advent of Code.
    (offtopic: Android Annotations has been my favorite Android project for years! <3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions