Unable to make multiple swipe in the drop down using swipe up

Hi…All,

Iam not able to keep swiping in the spinner list using swipe UP … There is element that located in the last of the list… so i have defined to swipe frequent elemet that pull up in the list as

public boolean swipeUP() throws InterruptedException
{

	MobileElement elm = (MobileElement)driver.findElement(By.xpath("//android.widget.CheckedTextView[contains(@resource-id,'android:id/text1') and @index = '8']"));
	elm.swipe(SwipeElementDirection.UP, 6000);
	Thread.sleep(1000);
	MobileElement elm1 = (MobileElement)driver.findElement(By.xpath("//android.widget.CheckedTextView[contains(@resource-id,'android:id/text1') and @index = '9']"));
	elm1.swipe(SwipeElementDirection.UP,7000);
	Thread.sleep(1000);
	MobileElement elm2 = (MobileElement)driver.findElement(By.xpath("//android.widget.CheckedTextView[contains(@resource-id,'android:id/text1') and @index = '8']"));
	elm2.swipe(SwipeElementDirection.UP,8000);
	MobileElement elm3 = (MobileElement)driver.findElement(By.xpath("//android.widget.CheckedTextView[contains(@resource-id,'android:id/text1') and @index = '7']"));
	elm3.swipe(SwipeElementDirection.UP,10000);
	return true;
	}

. so after swiping till the second element, it get stucked and swiping is not functioning on next element till last…
Appreciate for your support…
Thanks

see it!!