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

childView with multiple layout #26

Closed
vtproduction opened this issue Aug 17, 2014 · 2 comments
Closed

childView with multiple layout #26

vtproduction opened this issue Aug 17, 2014 · 2 comments

Comments

@vtproduction
Copy link

Hi @idunnololz ^.^
How can I implement your AnimatedExpandableListView with multiple layout for children ? I looked at your class and the getChildTypeCount() and getChildType(int groupPosition, int childPosition) are final, then how can I override them ?

@idunnololz
Copy link
Owner

Please override getRealChildType(int groupPosition, int childPosition) and getRealChildTypeCount() instead.

The reason why the original two functions are final is because I need to modify the value of these two values by 1 to account for the dummy view layout.

@vtproduction
Copy link
Author

Thank for your answer, It's worked !

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

2 participants