0
In my application, I use the SDK of Parse.com. The SDK provides a method for loading API objects assíncrona and in another thread called fetchInBackground(). Within the getView() of my adapter happens the following:
ParseObject driver = object.getParseObject("object");
    driver.fetchInBackground(new GetCallback<ParseObject>() {
        @Override
        public void done(ParseObject parseObject, ParseException e) {
            if(e==null){
                item.name.setText(parseObject.getString("name"));
                notifyDataSetChanged();
            }
        }
});
I’m trying to set the name on item.name which is a TextView, but the name only appears when I scroll the list and return, in case when it loads the item again.
You knew Parse.com was going to die at the end of the year, right?
– Leonardo Dias
Yes @Leonardodias. But that doesn’t stop me from using their SDK, because it’s already been an existing project for a while.. Just clone their server..
– Mateus Carvalho