I followed your recommendations, but unfortunately I did not get the expected result. I've simplified the code as much as possible and put it in one place. below I will attach screenshots of the updated code and the operation of the application.
the download takes place before the adapter is created, but I still get the same error when it is completed. could this be related in some way to the fact that asset has earlier versions? although I think the app will always download the latest version of asset.
codebase -
download process -
result -