Skip to content

Support serialized lambdas #35

@Alexander--

Description

@Alexander--

My Android code always becomes a mess, because the only thing, that can be passed between call to startActivityForResult() and corresponding call to onActivityResult(), is an Intent (possibly with Bundle of Serializable stuff). The issue isn't just limited to calling external apps: a lot of interaction between components in Android, all kinds of in-process and interprocess communication as well as saving and restoring application state rely on passing Bundles of Serializable values between caller and recepient.

Serialized lambdas would let Android developers use lots of Intents without grinding code flow to halt and actually employ application state restoration, as opposite to just hoping, that application process won't be killed by system in background.

Regarding implementation: it would, probably, be better to change package name of SerializedLambda to something other than java.lang.invoke in event, that Java 8 language features are implemented by Android developers someday.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions