示例#1
0
 public VpaListenerAdapterAnonymousInnerClassHelper4(DefaultItemAnimator outerInstance, com.samsung.android.sdk.professionalaudio.widgets.refactor.DefaultItemAnimator.ChangeInfo changeInfo, View view, ViewPropertyAnimatorCompat oldViewAnim)
 {
     this.outerInstance = outerInstance;
     this.changeInfo    = changeInfo;
     this.view          = view;
     this.oldViewAnim   = oldViewAnim;
 }
示例#2
0
 public VpaListenerAdapterAnonymousInnerClassHelper2(DefaultItemAnimator outerInstance, RecyclerView.ViewHolder holder, View view, ViewPropertyAnimatorCompat animation)
 {
     this.outerInstance = outerInstance;
     this.holder        = holder;
     this.view          = view;
     this.animation     = animation;
 }
		protected internal override void animateChangeImpl(DefaultItemAnimator.ChangeInfo changeInfo)
		{
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final android.support.v7.widget.RecyclerView.ViewHolder holder = changeInfo.oldHolder;
			RecyclerView.ViewHolder holder = changeInfo.oldHolder;
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final android.support.v7.widget.RecyclerView.ViewHolder newHolder = changeInfo.newHolder;
			RecyclerView.ViewHolder newHolder = changeInfo.newHolder;

			if (FcConstants.OPT_DETAILED_LOGS)
			{
				if (null != holder)
				{
					Log.d(TAG, "animateChangeImpl(position=" + holder.AdapterPosition + ")");
				}
				else if (null != newHolder)
				{
					Log.d(TAG, "animateChangeImpl(position=" + newHolder.AdapterPosition + ")");
				}
				else
				{
					Log.d(TAG, "animateChangeImpl(both nulls)");
				}
				Log.d(TAG, "   old = " + holder);
				Log.d(TAG, "   new = " + newHolder);
				Log.d(TAG, "   change: " + changeInfo);
			}

			if (newHolder is OrdinalAppViewHolder)
			{
				if (holder is OrdinalAppViewHolder || null == holder)
				{
					animateChangeOrdinalApp(changeInfo, (OrdinalAppViewHolder) holder, (OrdinalAppViewHolder) newHolder);
				}
			}
			else
			{
				animateChangeDefault(changeInfo, holder, newHolder);
			}
		}
			public VpaListenerAdapterAnonymousInnerClassHelper5(DefaultItemAnimator outerInstance, com.samsung.android.sdk.professionalaudio.widgets.refactor.DefaultItemAnimator.ChangeInfo changeInfo, View view, View newView, ViewPropertyAnimatorCompat newViewAnimation)
			{
				this.outerInstance = outerInstance;
				this.changeInfo = changeInfo;
				this.view = view;
				this.newView = newView;
				this.newViewAnimation = newViewAnimation;
			}
			public VpaListenerAdapterAnonymousInnerClassHelper3(DefaultItemAnimator outerInstance, RecyclerView.ViewHolder holder, View view, int deltaX, int deltaY, ViewPropertyAnimatorCompat animation)
			{
				this.outerInstance = outerInstance;
				this.holder = holder;
				this.view = view;
				this.deltaX = deltaX;
				this.deltaY = deltaY;
				this.animation = animation;
			}