Code example for Spinner

Methods: setVisibility

0
	View getView() {
		return mView;
	} 
	 
	SpinnerDisplay setVisible(boolean visible) {
		mView.setVisibility(visible ? View.VISIBLE : View.GONE);
		return this;
	} 
	 
	SpinnerDisplay setExpanded(boolean expanded) {
		mExpanded = expanded;
		refreshSelectedItem(); 
		return this;
	} 
	 
	void setContent(SpinnerAdapter adapter, OnNavigationListener listener) {
		mListener = listener;
		mView.setAdapter(adapter);
		refreshSelectedItem(); 
	}