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.

JavaDoc for ItemSelect Annotation is outdated #1818

@chpasha

Description

@chpasha

According to documentation and source code any ItemSelect annotated method must have one boolean parameter as first param. The Example in JavaDoc states something different

Example :
 * 
 * <pre>
 * &#064;ItemSelect(R.id.myList)
 * public void itemSelectedOnMyList() {
 *  // ...
 * }
 * 
 * &#064;ItemSelect(R.id.myList)
 * public void myListItemPositionSelected(int position) {
 *  // ...
 * }
 * 
 * &#064;ItemSelect
 * public void myListItemSelect(MyItem clickedItem) {
 *  // ...
 * }
 * 
 * &#064;ItemSelect(R.id.myList)
 * public void myListItemPositionSelected(boolean selected, int position) {
 *  // ...
 * }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions