<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic about extends callout in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/about-extends-callout/m-p/497718#M3435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="plain" name="code"&gt;
public class QuickCallout extends Callout {
 private MapView _map;
 public QuickCallout(MapView map) {
&amp;nbsp; super(map);
&amp;nbsp; // TODO Auto-generated constructor stub
&amp;nbsp; _map = map;
 }
 
 @Override
 public void show(Point pt) {
&amp;nbsp; super.show(pt,_map);
 }

}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;When I tried to use this class like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
QuickCallout callout = new QuickCallout(mMapView);
&amp;nbsp; 
callout.setStyle(R.xml.mappop);
LayoutInflater inflater = this.getLayoutInflater();
View v = inflater.inflate(R.layout.mappopview,null);
callout.setContent(v);
callout.refresh();
callout.sohw(mypoint);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got some error message like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;01-15 16:51:59.253: E/AndroidRuntime(8515): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to resolve this problem ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2013 06:58:25 GMT</pubDate>
    <dc:creator>RafaelLuo</dc:creator>
    <dc:date>2013-01-15T06:58:25Z</dc:date>
    <item>
      <title>about extends callout</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/about-extends-callout/m-p/497718#M3435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="plain" name="code"&gt;
public class QuickCallout extends Callout {
 private MapView _map;
 public QuickCallout(MapView map) {
&amp;nbsp; super(map);
&amp;nbsp; // TODO Auto-generated constructor stub
&amp;nbsp; _map = map;
 }
 
 @Override
 public void show(Point pt) {
&amp;nbsp; super.show(pt,_map);
 }

}
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;When I tried to use this class like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
QuickCallout callout = new QuickCallout(mMapView);
&amp;nbsp; 
callout.setStyle(R.xml.mappop);
LayoutInflater inflater = this.getLayoutInflater();
View v = inflater.inflate(R.layout.mappopview,null);
callout.setContent(v);
callout.refresh();
callout.sohw(mypoint);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got some error message like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;01-15 16:51:59.253: E/AndroidRuntime(8515): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to resolve this problem ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 06:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/about-extends-callout/m-p/497718#M3435</guid>
      <dc:creator>RafaelLuo</dc:creator>
      <dc:date>2013-01-15T06:58:25Z</dc:date>
    </item>
  </channel>
</rss>

