Equivalent to calling ImageView.setImageResource
Syntax
[Android.Runtime.Register("setImageViewResource", "(II)V", "GetSetImageViewResource_IIHandler")]
public virtual
void SetImageViewResource (
int viewId,
int srcId)
Parameters
- viewId
- The id of the view whose drawable should change
- srcId
- The new resource id for the drawable
Remarks
Requirements
Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1