public ScrollHandler(DragAndDropHandler instance)
            {
                minst = instance;
                Resources r = minst.mWrapper.getListView().Resources;

                mSmoothScrollPx = (int)TypedValue.ApplyDimension(ComplexUnitType.Dip, SMOOTH_SCROLL_DP, r.DisplayMetrics);
            }
 public AnimateSwitchViewOnPreDrawListener(View previousMobileView, long switchId, float translationY, DragAndDropHandler instance)
 {
     mPreviousMobileView = previousMobileView;
     mSwitchId           = switchId;
     mTranslationY       = translationY;
     nestinst            = instance;
 }
 /**
  * Disables the drag and drop functionality.
  */
 public void disableDragAndDrop()
 {
     mDragAndDropHandler = null;
 }
        /**
         * Enables the drag and drop functionality for this {@code DynamicListView}.
         * <p/>
         * <b>NOTE: This method can only be called on devices running ICS (14) and above, otherwise an exception will be thrown.</b>
         *
         * @throws java.lang.UnsupportedOperationException if the device uses an older API than 14.
         */
        //@SuppressLint("NewApi")
        public void enableDragAndDrop()
        {
            if (Build.VERSION.SdkInt < BuildVersionCodes.IceCreamSandwich)
            {
                throw new Java.Lang.UnsupportedOperationException("Drag and drop is only supported API levels 14 and up!");
            }

            mDragAndDropHandler = new DragAndDropHandler(this);
        }
 public SettleHoverDrawableAnimatorListener(HoverDrawable animatingHoverDrawable, View animatingMobileView, DragAndDropHandler instance)
 {
     mAnimatingHoverDrawable = animatingHoverDrawable;
     mAnimatingMobileView = animatingMobileView;
     minst = instance;
 }
 public ScrollHandler(DragAndDropHandler instance)
 {
     minst = instance;
     Resources r = minst.mWrapper.getListView().Resources;
     
     mSmoothScrollPx = (int)TypedValue.ApplyDimension(ComplexUnitType.Dip  , SMOOTH_SCROLL_DP, r.DisplayMetrics);
 }
 internal AnimateSwitchViewOnPreDrawListener(long switchId, float translationY, DragAndDropHandler instance)
 {
     mSwitchId = switchId;
     mTranslationY = translationY;
     inst2 = instance;
 }
 public LSwitchViewAnimator(DragAndDropHandler instance)
 {
     inst = instance;
 }
 public AnimateSwitchViewOnPreDrawListener(View previousMobileView, long switchId, float translationY, DragAndDropHandler instance)
 {
     mPreviousMobileView = previousMobileView;
     mSwitchId = switchId;
     mTranslationY = translationY;
     nestinst = instance;
 }
            public KitKatSwitchViewAnimator(DragAndDropHandler instance)
            {
                minst = instance;
 
            }
 public SettleHoverDrawableAnimatorListener(HoverDrawable animatingHoverDrawable, View animatingMobileView, DragAndDropHandler instance)
 {
     mAnimatingHoverDrawable = animatingHoverDrawable;
     mAnimatingMobileView    = animatingMobileView;
     minst = instance;
 }
 internal AnimateSwitchViewOnPreDrawListener(long switchId, float translationY, DragAndDropHandler instance)
 {
     mSwitchId     = switchId;
     mTranslationY = translationY;
     inst2         = instance;
 }
 public LSwitchViewAnimator(DragAndDropHandler instance)
 {
     inst = instance;
 }
 public KitKatSwitchViewAnimator(DragAndDropHandler instance)
 {
     minst = instance;
 }