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