Code example for View

Methods: getTag

0
        SelectorWrapper wrapper=(SelectorWrapper)lastRow.getTag(); 
 
        wrapper.getBar().setVisibility(View.INVISIBLE); 
      } 
       
      SelectorWrapper wrapper=(SelectorWrapper)view.getTag(); 
       
      wrapper.getBar().setVisibility(View.VISIBLE); 
      lastRow=view; 
    } 
     
    public void onNothingSelected(AdapterView<?> parent) { 
      if (lastRow!=null) { 
        SelectorWrapper wrapper=(SelectorWrapper)lastRow.getTag(); 
 
        wrapper.getBar().setVisibility(View.INVISIBLE); 
        lastRow=null; 
      } 
    } 
  }; 
}