Skip to content Skip to sidebar Skip to footer

Recyclerview Notifydatasetchanged Not Working After Parse Query

I'm in a fragment trying to updated my recycler view, after querying Parse for some data. In the done method of the query I call notifyDataSetChagned, but the list is never displa

Solution 1:

Change getItemCount() to actually return the correct value:

@Override
public int getItemCount() {
    return data.size()
}

Post a Comment for "Recyclerview Notifydatasetchanged Not Working After Parse Query"