-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels