public static void setBackground(View view, Drawable background) { if (Build.VERSION.SdkInt >= BuildVersionCodes.JellyBean) { SDK16.setBackground(view, background); } else { view.SetBackgroundDrawable(background); } }
public static void postOnAnimation(View view, IRunnable runnable) { if (VERSION.SdkInt >= BuildVersionCodes.JellyBean) { SDK16.postOnAnimation(view, runnable); } else { view.PostDelayed(runnable, 16); } }