8000 @OnActivityResult fails in FragmentActivity · Issue #349 · androidannotations/androidannotations · GitHub
[go: up one dir, main page]

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.

@OnActivityResult fails in FragmentActivity #349

@naixx

Description

@naixx

There is a restriction in FragmentActivity.startForResult

if (requestCode != -1 && (requestCode&0xffff0000) != 0) {
    throw new IllegalArgumentException("Can only use lower 16 bits for requestCode");
}

So, ids can not be applied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0