I want to set an image to the Uri if the Uri is empty, this is what I did:
if (imageUri == null)
{
imageUri = imageUri.parse(String.valueOf(R.drawable.no_image_available));
}
It does not give any error but it doesn't work, is there any other way I can use to achieve this?