title: Problem of dynamic binding data with ExpandableListView on Android
body: <p>First thing, is this the correct way to get the current item view of an expandablelistview?</p>
  
  <pre><code>    long packedPosition = ExpandableListView.getPackedPositionForChild(groupPosition, childPosition);
      int flatListPosition = myExpandableListView.getFlatListPosition(packedPosition);
      View v = myExpandableListView.getChildAt(flatListPosition - expandableListView.getFirstVisiblePosition());
  </code></pre>
  
  <p>I used an asynctask to get an image and bind it to the item view when it gets callback.
  The result seems ok, but sometimes it crashed at the internal method (NullPointerException) of the ExpandableListView class as following.</p>
  
  <pre><code>public int getFlatListPosition(long packedPosition) {
      PositionMetadata pm = mConnector.getFlattenedPos(ExpandableListPosition
              .obtainPosition(packedPosition));
      **final int flatListPosition = pm.position.flatListPos;**
      pm.recycle();
      return getAbsoluteFlatPosition(flatListPosition);
  }
  </code></pre>
  
  <p>Maybe this is caused by the behavior that I keep trying to expand and collapse the groups.
  Any help?</p>
  
  <p>Thanks!</p>