In my application, during normal operation, the onRestoreInstanceStatance function executes and throws a null pointer exception in any listener without calling this listener. My application contains a lot of data, which I write to a file in onPause and restore in onResume and onRestoreInstanceStatance. How can I make the application stable?
source
share