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

Null reference on on Bitmap recycle #3

Open
shivam0x opened this issue Aug 12, 2015 · 2 comments
Open

Null reference on on Bitmap recycle #3

shivam0x opened this issue Aug 12, 2015 · 2 comments

Comments

@shivam0x
Copy link

Hi,

When I try to include it in some layout or try to add some other views it gives my exception : Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference

Update : Basically when I change the Root layout from LinearLayout to Relative or any other then I get this.

Tried everything possible but it didnt work.

@MatthieuLJ
Copy link
Owner

Can you post the relevant code somewhere? (Gist or something).
Then you can post a new question on stackoverflow. Post the link here and I can take a look.

@shivam0x
Copy link
Author

You can check it but changing the root view to anything else except LinearLayout. It will reproduce the issue.

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