richard.ukans

Identify Task - NullPointerException

Discussion created by richard.ukans on Apr 27, 2012
Latest reply on May 1, 2012 by richard.ukans
Does anybody have any luck whatsoever with the IdentifyResultSpinnerAdapter?  Specifically with actually doing something with the results returned, like displaying the details of a selected feature in the spinner in a new activity.  The sample is ok but stops short of doing anything substantive with the Identify Results.  When trying to use an OnItemSelectedListener, I constantly get a NullPointerException thrown.  Any ideas would be helpful.  My code looks just like the Identify Result sample code except it adds the OnItemSelectedListener method to the IdentifyResultSpinnerAdapter class and calls that method from the createIdentifyContent ViewGroup.  Again, any guidance is appreciated.

Outcomes