title: Get EditText Control from ListView in Xamarin Studio with C#
body: <p>I am using Xamarin Studio with C#.</p>
  
  <p>I have added <strong>EditText</strong> control in <strong>listview</strong> adapter. And this list is dynamically populated.</p>
  
  <p>Now I want to get value of all EditText  in <strong>activity</strong> class. How I can achieve this?</p>
  
  <p>`public class PRDeptHeadApprovalDetailAdapter : BaseAdapter
      {
          List items;
          Activity context;</p>
  
  <pre><code>    public PRDeptHeadApprovalDetailAdapter(Activity context, List&lt;PRDeptHeadApprovalDetailAdapterInformation&gt; items)
          : base()
      {
          this.context = context;
          this.items = items;
      }
  
      public override long GetItemId(int position)
      {
          return position;
      }
  
  
      public override string this[int position]
      {
          get { return items[position].ToString(); }
      }
  
  
      public override int Count
      {
          get { return items.Count; }
      }
  
      public override View GetView(int position, View convertView, ViewGroup parent)
      {
          var item = items[position];
          View view = convertView; // re-use an existing view, if one is supplied
          if (view == null) // no view to re-use, create new
              view = context.LayoutInflater.Inflate(Resource.Layout.PRDeptHeadApprovalDetailAdapter, null);
          // set view properties to reflect data for the given row
          view.FindViewById&lt;TextView&gt;(Resource.Id.lbltdPermNo).Text = item.lbltdPermNo;
          view.FindViewById&lt;TextView&gt;(Resource.Id.lbltdItemName).Text = item.lbltdItemName;
          view.FindViewById&lt;TextView&gt;(Resource.Id.lbltdJustification).Text = item.lbltdJustification;
          view.FindViewById&lt;TextView&gt;(Resource.Id.lbltdSrce).Text = item.lbltdSrce;
          view.FindViewById&lt;TextView&gt;(Resource.Id.lbltdQuantity).Text = item.lbltdQuantity;
          EditText txtApproveQuantity = view.FindViewById&lt;EditText&gt;(Resource.Id.lbltdApproveQuantity);
          txtApproveQuantity.Text = item.lbltdApproveQuantity;
          // return the view, populated with data, for display
          return view;
      }
  }`
  </code></pre>