I have an ImageView with visibility = View.VISIBLE and predefined width and height in XML.
When I set in my code ImageBitmap like
someImageView.setImageBitmap(bitmap);
how can I later on know is there some image bitmap already defined or it’s still empty (null)?
So something like someImageView.getImageBitmap() == null …I cannot test width, height or visibility because it’s already predefined and it’s the same thing if there is a bitmap or not.
Your imageView doesn’t contain a bitmap if: