title: Get text in custom adapter from another activity
body: <p>In main activity, I use this code but error nullErrorException:</p>
  
  <pre><code>View v = lvContent.getChildAt(1); //lvcontent is listview of MainActivity
  EditText et = (EditText) v.findViewById(R.id.edContent); //edContent is EditText of custom adapter      
  et.getText().toString();
  </code></pre>
  
  <p>When this code then don't error. But i don't known how to get text at a position of EditText:</p>
  
  <pre><code>View child = getLayoutInflater().inflate(R.layout.view_note_check_edit, null);
  EditText et = (EditText) child.findViewById(R.id.edContent);        
  et.getText().toString();
  </code></pre>
  
  <p>This is layout custom adapter: view_note_check_edit.xml</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/LinearLayout2"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="horizontal" 
  &gt;
  
  &lt;ImageView
      android:id="@+id/ivMove"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:src="@drawable/selector_move"
       /&gt;
  &lt;EditText
      android:id="@+id/edContent"
      android:layout_width="0dp"
      android:layout_height="wrap_content"
      android:layout_weight="1"
      android:ems="10" &gt;
      &lt;requestFocus /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Can someone help me ?</p>