Devlight / Devlight/NavigationTabBar

Null pointer after setting BitmapDrawable

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4.9k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

Getting null pointer after setting bitmap drawable while measuring layout.
`if (icon instanceof BitmapDrawable) mIcon = ((BitmapDrawable) icon).getBitmap();`
where `mIcon` returning null;
And one another question, are you downsampaling the bitmap?

Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.