Exemple #1
0
 @Override
 public void onAnimationStart(Animator animation) {
   if (isOpened()) {
     showScrollViewMenu(scrollViewMenu);
     if (menuListener != null) menuListener.openMenu();
   }
 }
Exemple #2
0
 @Override
 public void onAnimationEnd(Animator animation) {
   // reset the view;
   if (isOpened()) {
     viewActivity.setTouchDisable(true);
     viewActivity.setOnClickListener(viewActivityOnClickListener);
   } else {
     viewActivity.setTouchDisable(false);
     viewActivity.setOnClickListener(null);
     hideScrollViewMenu(scrollViewLeftMenu);
     hideScrollViewMenu(scrollViewRightMenu);
     if (menuListener != null) menuListener.closeMenu();
   }
 }