Example #1
0
 public AndroidImageCache(int aMaxSize, int aDownscaleImageSize, int aThreadCount, IImageLoader <Bitmap> aImageLoader, IInvoker aInvoker, FlingStateManager aFlingStateManager, int aPendingRequestLimit)
     : base(aMaxSize, aDownscaleImageSize, aThreadCount, aImageLoader, aPendingRequestLimit)
 {
     Assert.Check(aInvoker != null);
     iInvoker           = aInvoker;
     iFlingStateManager = aFlingStateManager;
     iFlingStateManager.EventFlingStateChanged += EventFlingStateChangedHandler;
 }
Example #2
0
 public FlingScrollListener(FlingStateManager aFlingStateManager)
     : base()
 {
     iLock = new object();
     iFlingStateManager  = aFlingStateManager;
     iVisibleScrollRange = ScrollRange.Undefined;
     iScrollState        = ScrollState.Idle;
 }