Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetHeaderView not used? #6

Open
slodge opened this issue Oct 22, 2012 · 0 comments
Open

GetHeaderView not used? #6

slodge opened this issue Oct 22, 2012 · 0 comments

Comments

@slodge
Copy link
Owner

slodge commented Oct 22, 2012

Looking at the Adapter, I see:

    public override View GetView(int position, View convertView, ViewGroup parent)
    {
        var element = ElementAtIndex(position);
        if (element == null)
        {
            element = ElementAtIndex(position - 1);
            while (!(element is Section))
                element = element.Parent;
            return ((Section)element).GetFooterView(_context, convertView, parent);
        }
        return element.GetView(_context, convertView, parent);
    }

This suggests FooterView is 'hacked in' a bit - but HeaderView isn't :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant