From 3c91d4257dcb45211e96da006d84e0937fd74294 Mon Sep 17 00:00:00 2001 From: daimajia Date: Fri, 20 Jun 2014 10:31:52 +0800 Subject: [PATCH] fix #14 --- demo/src/main/java/com/daimajia/slider/demo/MainActivity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/demo/src/main/java/com/daimajia/slider/demo/MainActivity.java b/demo/src/main/java/com/daimajia/slider/demo/MainActivity.java index 166b7d0..08e4724 100644 --- a/demo/src/main/java/com/daimajia/slider/demo/MainActivity.java +++ b/demo/src/main/java/com/daimajia/slider/demo/MainActivity.java @@ -91,11 +91,9 @@ public boolean onCreateOptionsMenu(Menu menu) { public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()){ case R.id.action_custom_indicator: - mDemoSlider.stopAutoCycle(); mDemoSlider.setCustomIndicator((PagerIndicator) findViewById(R.id.custom_indicator)); break; case R.id.action_custom_child_animation: - mDemoSlider.startAutoCycle(); mDemoSlider.setCustomAnimation(new ChildAnimationExample()); break; case R.id.action_restore_default: