Project

General

Profile

Actions

Bug #645

closed

Fix a crash that sometimes occurred during resource requests

Added by Soren Stoutner almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Next Release
Start date:
11/26/2020
Due date:
% Done:

0%

Estimated time:

Description

For some reason (Java, Android's Lifecycle, who knows why), when looking up the NavigationView during a resource request, it would sometimes return null, causing a crash.

The solution is to get a handle for the view when the activity is created and store it as a class variable. This is much more efficient anyway.

Actions #1

Updated by Soren Stoutner almost 4 years ago

  • Description updated (diff)
  • Status changed from New to Closed
Actions

Also available in: Atom PDF