Copy Paste Clip number :
 

Copy-Paste anything you want, then get it from anywhere.


Clip number :   YME
Direct URL :   http://www.heypasteit.com/clip/YME
Date :   2011-05-27 02:39:11
Download as file
SimpleAdapter adapter = new SimpleAdapter(this, list, R.layout.rowsecond, new String[] {"icon", "name"}, new int[] {R.id.image1, R.id.text1})
		  {
			  public View getView(int position, View convertView, ViewGroup parent)
			  {
				  
				  View v = super.getView(position, convertView, parent);
				  boxer = (CheckBox)v.findViewById(R.id.checkbox);
				  
				  
				  
				  boxer.setTag(new Integer(position));
				  
				  boxer.setOnCheckedChangeListener(new OnCheckedChangeListener()
				  {
					  
				      public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
				      {
				          Integer posSelected = (Integer)buttonView.getTag();
				          
				          int posSelectedint = posSelected.intValue();
				          
				          switch(posSelectedint)
				          {
				         
				          case 0:
				        	  bs = !bs;
				        	  break;
				          case 1:
				        	  bs1 = !bs1;
				        	  break;
				        	  default: break;
				          }
				          
				      }
				  });
				 return v;
			  }

			
		  };
© 2014  HeyPasteIt.com  -  All rights reserved.