Closed zipitup closed 6 years ago
You can debug the size of adapter first. check getItemCount
both on MixAdapter
and AddOrderAdapter
I get 0 of AddOrderAdapter.itemcount. But if I made it to a single adapter (remove MixAdapter) - the count is still 0. But the recyclerview shows up fine.
mAddOrderRecycler.setLayoutManager(new LinearLayoutManager(this));
mAddOrderRecycler.setAdapter(mAdapter);
int itemCount = mAdapter.getItemCount();
Log.d(TAG, String.valueOf(itemCount));
https://stackoverflow.com/questions/37937497/getitemcount-on-adapter-is-returning-0
I just read this. I'm using Firebase's Firestore, that's probably why.
Does the plugin work with Firebase?
Sorry. I think currently not support, maybe I'll find out how to integrate with it in the future.
I did this but recyclerview shows up empty. How do I check what's wrong?