ReyclerView isn’t working

You should return the size of your data ArrayList in getItemCount()

Use this:

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

Instead of this:

@Override
public int getItemCount() {
    return 0;
}

Leave a Comment