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 8dba11b + 8c4e5df commit 2d08233Copy full SHA for 2d08233
library/src/main/java/com/etsy/android/grid/ExtendableListView.java
@@ -2596,9 +2596,10 @@ private void clearRecycledState(ArrayList<FixedViewInfo> infos) {
2596
if (infos == null) return;
2597
for (FixedViewInfo info : infos) {
2598
final View child = info.view;
2599
- final LayoutParams p = (LayoutParams) child.getLayoutParams();
2600
- if (p != null) {
2601
- p.recycledHeaderFooter = false;
+ final ViewGroup.LayoutParams p = child.getLayoutParams();
+
+ if (p instanceof LayoutParams) {
2602
+ ((LayoutParams) p).recycledHeaderFooter = false;
2603
}
2604
2605
0 commit comments