Note that there are some explanatory texts on larger screens.

plurals
  1. USAlécio Carvalho
    primarykey
    data
    text
    plurals
    1. COOne of your fragments are wrongly configured, can you paste the code for the fragment itself? Does it has a default constructor.
      singulars
    2. COafter that of course, call the notifyDatasetChanged() from the Adapter...make sure that the list is only changed or accessed from the UIThread( getView() is on the UIThead) and the onPostExecute() from the AsyncTask is also on the UIThread..so you can make a call to set the new populated list from there...if you do it from another thread, you will have to deal with multithreaded conditions having to synchronized your code properly..so use this as suggested that you will have no problems. Make the prototype, evaluate and adapt any improvements you find. Best of luck!
      singulars
    3. COit's simple...basically the core of the idea is to build the UI completely independent of the logic or origin of the data...so to start with: define the model (ValueObjects) a simple object with getters and setters...then on your adapter you make a variable with a list of them...and ensure that the getItem fetches the object from this list, and the getView builds the view based on the object retrieved from this list...now, just build something that changes this list whenever needed, you can use a AsyncTask that fetches the data from the server, populate these objects and set them to this list.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload