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.

@Extra convention over configuration #188

Description

@pyricau

This was a very good suggestion from someone in the audience at the AndroidAnnotations presentation at Devoxx France

We should use a convention over configuration mechanism for intent extras, and use the field name when no name is provided for the extra. E.g :

@EActivity
public class MyActivity extends Activity {

    // The extra will be named "someExtra", no need to use @Extra("someExtra")
    @Extra
    String someExtra;
}

Activity

  1. added a commit that references this issue on May 30, 2012
  2. pyricau commented on May 31, 2012

    @pyricau
    ContributorAuthor
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions