resolveImageOrHide

Resolves the string and loads it into either an ImageView or TextView based on the given string. When the data matches an http(s) url or a resource id it will be loaded into the ImageView. When the data matches a string id can be resolved the localized string will be displayed inside the TextView otherwise the plain text will be displayed. When data is null the view will be hidden.