Skip to content

Android : how to manage screen rotation with observer  #386

@pommedeterresautee

Description

@pommedeterresautee

Hi,

Since I have discovered Rx java I have replaced all my async loaders by observers and observables.

That's very cool to easily get an error to the UI thread.

I have still a question.

As you know when the screen rotate the activity is killed and recreated.

I am wondering how should I do to resubscribe to the same observable launched before the rotation.

Is there a pattern I have not think of? Or is it a feature to come?

I am very new to reactive programming and I perfectly realize I am using 1% of the power of Rx java but can you help me to reach the 2%?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions