You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I discovered that FirestorePagingAdapter does not log errors by default, while FirestoreRecylcerAdapter does.
I think it should save developers some time. I lost some time while debugging why my FirestorePagingAdapter didn't not display any data. I simply forgot to create an index, but I didn't get the warning log about that, because FirestorePagingAdapter's onError method body is empty.
Hello!
Recently I discovered that FirestorePagingAdapter does not log errors by default, while FirestoreRecylcerAdapter does.
I think it should save developers some time. I lost some time while debugging why my FirestorePagingAdapter didn't not display any data. I simply forgot to create an index, but I didn't get the warning log about that, because FirestorePagingAdapter's onError method body is empty.
FirestoreRecyclerAdapter:
@Override public void onError(@NonNull FirebaseFirestoreException e) { Log.w(TAG, "onError", e); }
FirestorePagingAdapter:
protected void onError(@NonNull Exception e) { // For overriding }
The text was updated successfully, but these errors were encountered: