Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7539ead + 39d3b05 commit 18e9ae8Copy full SHA for 18e9ae8
library/src/main/java/com/etsy/android/grid/ExtendableListView.java
@@ -265,7 +265,7 @@ public void setAdapter(final ListAdapter adapter) {
265
}
266
267
mDataChanged = true;
268
- mItemCount = adapter != null ? adapter.getCount() : 0;
+ mItemCount = mAdapter != null ? mAdapter.getCount() : 0;
269
270
if (adapter != null) {
271
adapter.registerDataSetObserver(mObserver);
0 commit comments