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
i've added HeaderGridView to my project successfully but the problem is i cannot remove headerview or update it. because the below if statement (info.view == v) is always false :
private boolean removeFixedViewInfo(View v, ArrayList<FixedViewInfo> where) {
int len = where.size();
int count = 0;
for (int i = 0; i < len; ++i) {
FixedViewInfo info = where.get(i);
if (info.view == v) {
this.setPadding(this.getPaddingLeft(), getPaddingTop()-v.getMeasuredHeight(), this.getPaddingRight(), this.getPaddingBottom());
where.remove(i);
count++;
break;
}
}
return count > 0;
}
can you help me with this and explain me why this happens? v is a global View which i've used to add header view before.
The text was updated successfully, but these errors were encountered:
i've added HeaderGridView to my project successfully but the problem is i cannot remove headerview or update it. because the below if statement (info.view == v) is always false :
can you help me with this and explain me why this happens? v is a global View which i've used to add header view before.
The text was updated successfully, but these errors were encountered: