library/src/main/java/com/jpardogo/listbuddies/lib/views/ListBuddiesLayout.java
private void toogleListView(View v) {
        if (mLastViewTouchId != v.getId()) {
            if (mLastViewTouchId == mListViewLeft.getId()) {
                isLeftListEnabled = true;
                isRightListEnabled = false;
            } else {
                isLeftListEnabled = false;
                isRightListEnabled = true;
            }
        }
    }
private void toogleListView(View v) {
        if (mLastViewTouchId != v.getId()) {
            if (mLastViewTouchId == mListViewLeft.getId()) {
                isLeftListEnabled = true;
                isRightListEnabled = false;
            } else {
                isLeftListEnabled = false;
                isRightListEnabled = true;
            }
        }
    }
private void toogleListView ( View v ) { if ( mLastViewTouchId != v . getId ( ) ) { if ( mLastViewTouchId == mListViewLeft . getId ( ) ) { isLeftListEnabled = true ; isRightListEnabled = false ; } else { isLeftListEnabled = false ; isRightListEnabled = true ; } } }
Each time we touch the opposite ListView than the last one we have selected
we need to activate it as the enable one
Each time we touch the opposite ListView than the last one we have selected we need to activate it as the enable one