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

ClassCastException expanding list #12

Closed
LukeDeighton opened this issue Apr 29, 2014 · 5 comments
Closed

ClassCastException expanding list #12

LukeDeighton opened this issue Apr 29, 2014 · 5 comments

Comments

@LukeDeighton
Copy link

Hi,

On two devices (android v 2.3 and 4.0) I'm getting ClassCastExceptions when expanding the AnimatedExpandableListView. I've found a solution by removing the explicit cast to ViewGroup.LayoutParams in getChildView(). Using AbsListView.LayoutParams I get no more crashes.

Edit: I notice you fixed in #7 but can't see the update in the repository

Thanks,

Luke

@idunnololz
Copy link
Owner

All this means is that the bug you described has been fixed on git hub.
On Apr 29, 2014 3:17 AM, "LukeDeighton" notifications@github.com wrote:

Hi,

On two devices (android v 2.3 and 4.0) I'm getting ClassCastExceptions
when expanding the AnimatedExpandableListView. I've found a solution by
removing the explicit cast to ViewGroup.LayoutParams in getChildView().
Using AbsListView.LayoutParams I get no more crashes.

Sorry I'm not that familiar with Github contribution, should I be using a
pull request?

Thanks,

Luke


Reply to this email directly or view it on GitHubhttps://github.com//issues/12
.

@LukeDeighton
Copy link
Author

But in your master branch it still says ViewGroup.LayoutParams?

@idunnololz
Copy link
Owner

Hmm you are right. I will investigate this once I get home. Thanks for
bring this issue up.
On Apr 29, 2014 3:12 PM, "LukeDeighton" notifications@github.com wrote:

But in your master branch it still says ViewGroup.LayoutParams?


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-41738780
.

@idunnololz
Copy link
Owner

Fixed. Check the file again to verify.

On Tue, Apr 29, 2014 at 3:21 PM, Gary Guo garyguo9@gmail.com wrote:

Hmm you are right. I will investigate this once I get home. Thanks for
bring this issue up.
On Apr 29, 2014 3:12 PM, "LukeDeighton" notifications@github.com wrote:

But in your master branch it still says ViewGroup.LayoutParams?


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-41738780
.

@LukeDeighton
Copy link
Author

Thanks, It is indeed there.

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