Code example for AbsListView.LayoutParams

	public View getView(int position, View convertView, ViewGroup parent) { 
		PreferencesView rv = new PreferencesView(getItem(position), mContext, 
				mLabeler, mPrefName, mOnItemClickListener, position); 
		LayoutParams params = new LayoutParams(LayoutParams.FILL_PARENT, 
		return rv; 
	 * Sets the <code>CheckBox</code> listener on the object's line. 
	 * @param itemClickListener 
	 *            The listener on the object's line. 
	public void setOnCheckBoxClickListener(OnItemClickListener itemClickListener) { 
		mOnItemClickListener = itemClickListener; 
Connect your IDE to all the code out there  Get Codota for Java