Preference setSelectable - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Preference setSelectable method.

This code example shows how to use the following methods:setPersistent, setSelectable, setTitle
 
      2() {} 
 
      public void add(String var1) {
         DiscoverServicesActivity var2 = DiscoverServicesActivity.this;
         Preference var3 = new Preference(var2);
         var3.setPersistent((boolean)0);
         var3.setSelectable((boolean)0);
         var3.setTitle(var1);
         boolean var4 = DiscoverServicesActivity.this.mServiceList.addPreference(var3);
      } 
   } 
} 
6
CodeRank
Experience pair programming with AI  Get Codota for Java
This code example shows how to use the following methods:setEnabled, setSelectable
				 
				chlockpick.setEnabled(false); 
				chlockpick.setSelectable(false); 
			} else { 
				Log.d(TAG, "channel hop disabled"); 
				chlistview.setEnabled(false); 
				chlistview.setSelectable(false); 
				 
				chlockpick.setEnabled(true); 
				chlockpick.setSelectable(true); 
			} 
			 
			return false; 
		} 
	}; 
	 
	@Override 
	public void onCreate(Bundle savedInstanceState) {    
		super.onCreate(savedInstanceState);       
		addPreferencesFromResource(R.xml.channel_preferences);   
5
CodeRank
Experience pair programming with AI  Get Codota for Java
This code example shows how to use the following methods:setSelectable
	/** 
	 * ���ó�ʼ״̬ 
	 */ 
	void BindControls() { 
		boolean isHorizontal = getIsAutoHorizontal(getApplicationContext());
		listIsHorizontal.setSelectable(isHorizontal);
	} 
	/** 
	 * ������ 
	 */ 
	@Override 
	protected void onResume() { 
		super.onResume(); 
		if (!getIsAutoHorizontal(this))
			setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
		else 
			setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_USER);
	} 
	@Override 
	public void onConfigurationChanged(Configuration newConfig) {
3
CodeRank
Experience pair programming with AI  Get Codota for Java
This code example shows how to use the following methods:setSelectable
		pCbDeleteExtensionMatches.setSelectable(false);
		pEtExtensionsFilter.setSelectable(false);
		 
		pCbUsePatternFilter.setSelectable(false);
		pCbDeletePatternMatches.setSelectable(false);
		pEtPatternFilter.setSelectable(false);
	} 
	 
	//// special case action: Get target folder - startActivityForResult() and onActivityResult() 
	 
	/** 
	 * StartActivityForResult() to get user's folder choice 
	 */ 
	private void pEtFolderGetFolder() 
	{ 
		Log.d(TAG, "Starting FileBrowserActivity to get target folder...");
		Intent fileExploreIntent = new Intent(
				com.vassiliev.androidfilebrowser.FileBrowserActivity.INTENT_ACTION_SELECT_DIR, 
				null, this,
				com.vassiliev.androidfilebrowser.FileBrowserActivity.class); 
3
CodeRank
Experience pair programming with AI  Get Codota for Java
setSelectable Method Overview
Sets whether this Preference is selectable.
See Code Examples for other Android Preference Methods: