android studio java setvisbility of spinner

Solutions on MaxInterview for android studio java setvisbility of spinner by the best coders in the world

showing results for - "android studio java setvisbility of spinner"
Sirine
11 Feb 2018
1 private void endMultiSelectMode() {
2    mCheckedCardPositions.clear();
3    mInMultiSelectMode = false;
4    // If view which was originally selected when entering multi-select is visible then maintain its position
5    View view = mCardsListView.getChildAt(mLastSelectedPosition - mCardsListView.getFirstVisiblePosition());
6    if (view != null) {
7      recenterListView(view);
8    }
9    // update adapter to remove check boxes
10    mCardsAdapter.notifyDataSetChanged();
11    // update action bar
12    supportInvalidateOptionsMenu();
13    mActionBarSpinner.setVisibility(View.VISIBLE);
14    mActionBarTitle.setVisibility(View.GONE);
15  }