コード例 #1
0
 /// <summary>
 /// Drags the draggable container to given position.
 /// </summary>
 /// <param name="settleDestY"></param>
 public void SmoothScrollToY(int settleDestY)
 {
     try
     {
         if (DragHelper.SettleCapturedViewAt(PaddingLeft, settleDestY))
         {
             ViewCompat.PostInvalidateOnAnimation(this);
         }
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }