//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET: //ORIGINAL LINE: public static void setBackground(final android.view.View view, final int index, final int numberOfElements, final com.samsung.android.sdk.professionalaudio.widgets.refactor.FcContext fcContext) public static void setBackground(View view, int index, int numberOfElements, FcContext fcContext) { Drawable background; // It is the only button if (index == 0 && numberOfElements == 1) { background = fcContext.getDrawable(R.drawable.action_button_background_only); // It is the first button of many } else if (index == 0 && numberOfElements > 1) { background = fcContext.getDrawable(R.drawable.action_button_background_start); // It is the last button of many } else if (index == numberOfElements - 1) { background = fcContext.getDrawable(R.drawable.action_button_background_end); // In other case it is center button } else { background = fcContext.getDrawable(R.drawable.action_button_background_center); } view.Background = background; }
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET: //ORIGINAL LINE: public static void setBackground(final android.view.View view, final int index, final int numberOfElements, final com.samsung.android.sdk.professionalaudio.widgets.refactor.FcContext fcContext) public static void setBackground(View view, int index, int numberOfElements, FcContext fcContext) { Drawable background; // It is the only button if (index == 0 && numberOfElements == 1) { background = fcContext.getDrawable(R.drawable.action_button_background_only); // It is the first button of many } else if (index == 0 && numberOfElements > 1) { background = fcContext.getDrawable(R.drawable.action_button_background_start); // It is the last button of many } else if (index == numberOfElements - 1) { background = fcContext.getDrawable(R.drawable.action_button_background_end); // In other case it is center button } else { background = fcContext.getDrawable(R.drawable.action_button_background_center); } view.Background = background; }
public OnClickListenerAnonymousInnerClassHelper(OrdinalAppViewHolder outerInstance, com.samsung.android.sdk.professionalaudio.widgets.refactor.FcContext context, com.samsung.android.sdk.professionalaudio.widgets.refactor.FcAnimator animator) { this.outerInstance = outerInstance; this.context = context; this.animator = animator; }
public OnClickListenerAnonymousInnerClassHelper(OrdinalAppViewHolder outerInstance, com.samsung.android.sdk.professionalaudio.widgets.refactor.FcContext context, com.samsung.android.sdk.professionalaudio.widgets.refactor.FcAnimator animator) { this.outerInstance = outerInstance; this.context = context; this.animator = animator; }