NewPipe/app/src/main/java/org/schabi/newpipe/fragments/list
Douile 384ca66205
#6522: Fix null pointer exception when displaying SearchFragment
It seems due to #6394 updating the FragmentX library there was a
change to the order of lifecycle calls, as such onResume() was no longer
before onCreateOptionsMenu() creating a null pointer exception when
using service in onCreateOptionsMenu() as it is only set in onResume().

By moving the initialization of service to onStart() which still happens
before onCreateOptionsMenu() this crash can be avoided. This commit also
adds a check for a null service to prevent future crashes for similar
issues.
2021-06-22 16:52:02 +01:00
..
channel Annotate some overridden methods and parameters as NonNull 2021-06-19 18:37:02 -04:00
comments Annotate some overridden methods and parameters as NonNull 2021-06-19 18:37:02 -04:00
kiosk Annotate some overridden methods and parameters as NonNull 2021-06-19 18:37:02 -04:00
playlist Annotate some overridden methods and parameters as NonNull 2021-06-19 18:37:02 -04:00
search #6522: Fix null pointer exception when displaying SearchFragment 2021-06-22 16:52:02 +01:00
videos Annotate some overridden methods and parameters as NonNull 2021-06-19 18:37:02 -04:00
BaseListFragment.java Annotate some overridden methods and parameters as NonNull 2021-06-19 18:37:02 -04:00
BaseListInfoFragment.java Fix display of channel details when it has no videos 2021-04-09 12:45:43 +05:30
ListViewContract.java Update extractor and refactored NewPipe 2017-09-03 13:57:12 -03:00