0
I have a problem with a list of objects that comes in a JSON, I can get the data, it comes, they should be presented in a Fragment that has a Recyclerview, the app opens and shows nothing. When analyzing the logs I realized that the Fragment opens before the data is ready.
I don’t know how to fix this.
I believe you should take the data already inside the Fragment, put your code that gets better
– Leonardo Dias
Look at this reply to a similar situation.
– ramaral
Read this: https://pt.meta.stackoverflow.com/a/5510/132
– Victor Stafusa