title: How to get view and holder object outside getView method?
body: <p>I have adapter and fragment.</p>
  
  <p>Consider this scenario :</p>
  
  <ol>
  <li><p>Adapter has Edit Text</p></li>
  <li><p>By default edit text is not editable </p></li>
  <li>Fragment has one edit icon </li>
  <li>On click of edit icon adapter's edit text should became editable</li>
  </ol>
  
  <p>Here is fragment code: </p>
  
  <pre><code>editIcon.setOnClickListener(new View.OnClickListener() {
      @Override
      public void onClick(View v) {
          Adapter.makeEditTextEditable();
      }
  });
  </code></pre>
  
  <p>here is Adapter code:</p>
  
  <pre><code>@Override
  public View getView(final int position, View convertView, ViewGroup parent) {
      ViewHolder holder = null;
  
      if (convertView == null) {
          convertView = inflater.inflate(R.layout.layout, null);
          holder = new ViewHolder();
          holder.EditText = (EditText) convertView.findViewById(R.id.edit_text);
  
      } else {
          holder = (ViewHolder) convertView.getTag();
      }
  }
  
  
  // This is method i am calling from fragment to make editText editable 
  public void makeEditTextEditable() {
      // How do i get holder object and view object here? OR
      // How do i make edit text editable from this method?
  }
  </code></pre>