commit | a3f87c3cf61400f8d4c61a768f02b50856e5ca43 | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Mon Mar 21 16:32:10 2022 +0100 |
committer | Luca Stefani <luca.stefani.ge1@gmail.com> | Mon Mar 21 16:33:59 2022 +0100 |
tree | 78f29961e550eacc7cabc0757a042af20c9cc1bc | |
parent | a896ae2fc6c40a90a676c7859faf4ae59d1addc1 [diff] |
Move loader init after view setup We may, and do, have race condition where onCreateLoader initiated by initLoader() is called before the rest of the function stack, especially setupSongList that initializes mLoadingEmptyContainer used inside onCreateLoader leading to a NPE Change-Id: I8b6cc5a0cd7507f15993c016783369ad944377a9