public override void SetImageResource(int resId) { base.SetImageResource(resId); imgState = Drawable.GetConstantState(); }
void Initialize(Context context, IAttributeSet attrs) { imgState = Drawable.GetConstantState(); }