excilys/androidannotations — Issue #4: Provide optional position parameter for @ItemClick (& others)
Author: pyricau
Created: 2012-01-06 10:12:16+00:00
State: open
Labels: Enhancement

When using `@ItemClick`, sometimes you don't wanna know the item but rather the position. This is usually the case when using a string array from resources.

So we could change the rule : if the parameter is an int, then the position is given, and otherwise, the item is given.