protected void reloadSwipeStateInView(View frontView,int position){
  if (!opened.get(position)) {
    ViewCompat.setTranslationX(frontView,0.0f);
  }
 else {
    if (openedRight.get(position)) {
      ViewCompat.setTranslationX(frontView,swipeListView.getWidth());
    }
 else {
      ViewCompat.setTranslationX(frontView,-swipeListView.getWidth());
    }
  }
}

protected void reloadSwipeStateInView ( View frontView , int position ) { if ( ! opened . get ( position ) ) { ViewCompat . setTranslationX ( frontView , 0.0f ) ; } else { if ( openedRight . get ( position ) ) { ViewCompat . setTranslationX ( frontView , swipeListView . getWidth ( ) ) ; } else { ViewCompat . setTranslationX ( frontView , - swipeListView . getWidth ( ) ) ; } } }
reset the state of front view when the it ' s recycled by listview
