Giter Club home page Giter Club logo

Comments (3)

Ereza avatar Ereza commented on July 18, 2024 1

Hi @android-dataticket, thanks for the suggestion! What you described is indeed the normal behavior, the Application class is destroyed because a new app process is started and the previous one is killed.

I'll take a look to see if it is feasible to add some custom data to the Intent, so it becomes available to the ErrorActivity once the app is restarted.

from customactivityoncrash.

android-dataticket avatar android-dataticket commented on July 18, 2024 1

Thank you for the reply! I ended up deciding it's best to store my variable as a shared preference, so no need to add any special intent data.. I'm sure it's best to handle with shared preference anyways.

Thanks again for the sweet library!

from customactivityoncrash.

Ereza avatar Ereza commented on July 18, 2024

Closing this for now since I don't feel like this is something that the library should do. As you already explained, the best way is to save this on the app code side (shared preferences, database, etc.) and use a custom error activity if needed to recover the data.

Thanks for your report.

from customactivityoncrash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.